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 On Mon, Nov 23, 2015 at 10:31 AM, John Gateley <[email protected]> wrote: > 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 [email protected] > 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 > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/d45b50b6-8d84-4ade-8ee0-4b1f59418336%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/d45b50b6-8d84-4ade-8ee0-4b1f59418336%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Kylo Ginsberg | [email protected] | irc: kylo | twitter: @kylog -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFEe_BjHeJcYzfBGkDgWf7SWpqVMAwdTnFcG4L1-JiJwyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
