Guillaume Fache
Guillaume Fache

Reputation: 813

Puppet on Debian 6 (Squeeze) obsolete

I am trying to use puppet on a Debian Squeeze VM. The modules are not recognized, and errors in the init.pp are found. For example, for the apache module :

==> default: Syntax error at ')' at /tmp/vagrant-puppet/modules-1c590e71e741d5be cdd0f5f0cf8d12ab/apache/manifests/init.pp:75 on node squeeze64.vagrantup.com

This module is from the puppet forge, and works perfectly on Debian 7, so I do not think it is the cause of the problem.

My hypothesis is that the problem comes from Puppet version, which is 2.6.2 (and is officialy obsolete). I tried updating it with apt-get and also following the procedure described on Puppetlabs, that is to say :

wget https://apt.puppetlabs.com/puppetlabs-release-squeeze.deb
sudo dpkg -i puppetlabs-release-squeeze.deb
sudo apt-get update

But the version remains the same. So this not working, does that mean puppet does not work on Debian Squeeze at all ? Or is my guess wrong and the problem comes from elsewhere ?

Any help appreciated.

Upvotes: 0

Views: 273

Answers (1)

Zoldike
Zoldike

Reputation: 1

add this line to your /etc/apt/sources.list:

deb http://backports.debian.org/debian-backports squeeze-backports main

then enter the commands:

apt-get update

apt-get -t squeeze-backports install puppet

this will install puppet 2.7 for you

Upvotes: 0

Related Questions