Debian jessie and puppet packages

131 views
Skip to first unread message

John Gateley

unread,
Nov 23, 2015, 1:40:41 PM11/23/15
to Puppet Users
Hello,

I'm a complete novice at puppet, trying to set up a couple of debian systems with puppet on them.

With a brand new install of Debian 8 (jessie), I have used both the default packages from Debian, and the packages from puppetlabs (available after installing the puppetlabs-release-jessie.deb package).

With both puppet-master and puppet, the "facter rubysitedir" returns a non-existent directory (/usr/local/lib/site_ruby/2.1.0). I think it should return /usr/lib/ruby/vendor_ruby/.

With puppet, the command "puppet resource service" fails with:

Error: Could not run: Execution of '/bin/systemctl show -pSourcePath autovt@' returned 1: Failed to get properties: Unit name autovt@.service is not valid.

Does Debian 8 support puppet via packages only? Or do I need to install from source?

I also set up Debian 7, and that worked, but it was with puppet 2.7.23, which is quite old (both Puppet 3 and 4 are now available).

Google search didn't help with this.

Would I have more luck with Ubuntu?

Thank you, and my apologies for the novice questions.

John

Kylo Ginsberg

unread,
Nov 23, 2015, 3:08:57 PM11/23/15
to puppet...@googlegroups.com
Hi John,

As you found, the default debian packages lag, so I'd definitely recommend using the puppetlabs packages.

Two other things to note:
* the package names of interest have changed: you'll want to install 'puppet-agent' and 'puppetserver' (not 'puppet' and 'puppet-master', which it sounds like you may have done)
* the package install does *not* update your path, but it puts puppet/facter/hiera/puppetserver/mco in /opt/puppetlabs/bin

There are instructions on using the puppetlabs repos here: https://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html

Hope that helps!

Kylo

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d45b50b6-8d84-4ade-8ee0-4b1f59418336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kylo Ginsberg | ky...@puppetlabs.com | irc: kylo | twitter: @kylog

John Gateley

unread,
Nov 23, 2015, 4:45:45 PM11/23/15
to Puppet Users
Hi Kylo,

Thank you for the reply, your suggestion fixed my issue.

I was following (outdated?) instructions here:

and they were referencing the old package names.

Thanks again for the quick reply.

John

warron.french

unread,
Nov 23, 2015, 5:44:12 PM11/23/15
to puppet...@googlegroups.com

John hello, have you heard about the Puppet labs training VM?

Reply all
Reply to author
Forward
0 new messages