Jesse Reynolds
2007-Feb-12 06:08 UTC
probably running puppet on red hat for the first time
Here at the University of Sydney I''m trying to give Puppet a go. I
haven''t made it past first base yet unfortunately.
We run RHEL 4 here, for the most part, and the install guide at
http://reductivelabs.com/trac/puppet/wiki/InstallationGuide says that
you should use the vendor''s Ruby, but Red Hat''s current
version of
Ruby is 1.8.1-07 - is this new enough? I assumed that it would be and
proceeded...
When I try and start up puppetmasterd either with --mkusers or --
nonodes I get the following error:
[root@flx-web-dev 1.8]# /usr/sbin/puppetmasterd --nonodes
/usr/lib/site_ruby/1.8/puppet/config.rb:42:in `[]='': Unknown
configuration parameter :lockdir (Puppet::Error)
from /usr/lib/site_ruby/1.8/puppet/config.rb:39:in
`synchronize''
from /usr/lib/site_ruby/1.8/puppet/config.rb:39:in `[]=''
from /usr/lib/site_ruby/1.8/puppet/config.rb:308:in `parse''
from /usr/lib/site_ruby/1.8/puppet/config.rb:278:in `each''
from /usr/lib/site_ruby/1.8/puppet/config.rb:278:in `parse''
from /usr/sbin/puppetmasterd:193
I''ve gone through /usr/lib/ruby/... and checked that there are all of
the prereqs in there, and there seems to be.
So now I''m thinking that perhaps 1.8.1 is too old for Puppet? Or have
I done something stupid?
All I''ve really done after installing facter, puppet and puppet-
server RPMs from the dlutter repository is create the following files
and directories, as per the install guide:
/etc/puppet/manifests/site.pp
/etc/puppet/manifests/functions.pp
/etc/puppet/manifests/os/
/etc/puppet/manifests/classes/
Any ideas?
Thanks
Jesse
Jesse Reynolds
2007-Feb-12 06:21 UTC
Re: probably running puppet on red hat for the first time
Ah, Luke has suggested that I remove the lockdir line from puppetd.conf and now puppetmasterd starts up OK. Aparently there is no longer support for lockdb in the config file. Cheers Jesse On 12/02/2007, at 5:08 PM, Jesse Reynolds wrote:> Here at the University of Sydney I''m trying to give Puppet a go. I > haven''t made it past first base yet unfortunately. > > We run RHEL 4 here, for the most part, and the install guide at > http://reductivelabs.com/trac/puppet/wiki/InstallationGuide says that > you should use the vendor''s Ruby, but Red Hat''s current version of > Ruby is 1.8.1-07 - is this new enough? I assumed that it would be and > proceeded... > > When I try and start up puppetmasterd either with --mkusers or -- > nonodes I get the following error: > > [root@flx-web-dev 1.8]# /usr/sbin/puppetmasterd --nonodes > /usr/lib/site_ruby/1.8/puppet/config.rb:42:in `[]='': Unknown > configuration parameter :lockdir (Puppet::Error) > from /usr/lib/site_ruby/1.8/puppet/config.rb:39:in > `synchronize'' > from /usr/lib/site_ruby/1.8/puppet/config.rb:39:in `[]='' > from /usr/lib/site_ruby/1.8/puppet/config.rb:308:in `parse'' > from /usr/lib/site_ruby/1.8/puppet/config.rb:278:in `each'' > from /usr/lib/site_ruby/1.8/puppet/config.rb:278:in `parse'' > from /usr/sbin/puppetmasterd:193 > > I''ve gone through /usr/lib/ruby/... and checked that there are all of > the prereqs in there, and there seems to be. > > So now I''m thinking that perhaps 1.8.1 is too old for Puppet? Or have > I done something stupid? > > All I''ve really done after installing facter, puppet and puppet- > server RPMs from the dlutter repository is create the following files > and directories, as per the install guide: > > /etc/puppet/manifests/site.pp > /etc/puppet/manifests/functions.pp > /etc/puppet/manifests/os/ > /etc/puppet/manifests/classes/ > > Any ideas? > > Thanks > Jesse > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-usersJesse Reynolds Virtual Artists Pty Ltd - http://www.va.com.au/ Phone: 08 8223 2288 Mobile: 0414 669 790