If you install puppet from the ubuntu 9.04 repositories (apt-get install puppet) it sets up puppet differently than the gem. The differences are obvious from the /etc/puppet/puppet.conf which looks like this [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter pluginsync=true [puppetmasterd] templatedir=/var/lib/puppet/templates When I run the command puppetd --server my.server.com --waitforcert 60 --test I get the following error err: Could not request certificate: Certificate retrieval failed: Permission denied - /etc/puppet/ssl/ca/requests/ ubuntu.panztel.local.pem There is no /etc/puppet/ssl directory. This is supposed to be in /var/ lib/puppet/ssl. Clearly the puppetd is not reading the config file. The only directory in /etc/puppet is "files" (which also seems weird). I also tried adding --ssldir /var/lib/puppet/ssl but that doesn''t make a difference either. I don''t see an option on puppetd to tell it where the config file is so how do I get puppetd to behave properly in the ubuntu environment? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Asif Iqbal
2009-Sep-03 04:10 UTC
[Puppet Users] Re: Problems with puppetd on ubuntu server
On Wed, Sep 2, 2009 at 10:32 PM, timu<timuckun@gmail.com> wrote:> > If you install puppet from the ubuntu 9.04 repositories (apt-get > install puppet) it sets up puppet differently than the gem. The > differences are obvious from the /etc/puppet/puppet.conf which looks > like this > > [main] > logdir=/var/log/puppet > vardir=/var/lib/puppet > ssldir=/var/lib/puppet/ssl > rundir=/var/run/puppet > factpath=$vardir/lib/facter > pluginsync=true > > [puppetmasterd] > templatedir=/var/lib/puppet/templates > > When I run the command > > puppetd --server my.server.com --waitforcert 60 --test > > I get the following error > > err: Could not request certificate: Certificate retrieval failed: > Permission denied - /etc/puppet/ssl/ca/requests/ > ubuntu.panztel.local.pem > > There is no /etc/puppet/ssl directory. This is supposed to be in /var/ > lib/puppet/ssl. Clearly the puppetd is not reading the config file. > The only directory in /etc/puppet is "files" (which also seems weird). > > I also tried adding --ssldir /var/lib/puppet/ssl but that doesn''t make > a difference either. > > I don''t see an option on puppetd to tell it where the config file is > so how do I get puppetd to behave properly in the ubuntu environment?ubuntu puppet is old. you should install the puppet 0.24.8 from karmic download http://mirrors.kernel.org/ubuntu/pool/universe/p/puppet/puppet_0.24.8-2_all.deb and then dpkg -i puppet_0.24.8-2_all.deb I am using that for my ubuntu 9.04 -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
> ubuntu puppet is old. you should install the puppet 0.24.8 from karmic > > downloadhttp://mirrors.kernel.org/ubuntu/pool/universe/p/puppet/puppet_0.24.8... > and then dpkg -i puppet_0.24.8-2_all.deb > > I am using that for my ubuntu 9.04 >Would be better to use the ones from the gems? I was thinking that it might be best to use one from the repos so I can set up a machine from scratch without needed a whole lot of dependencies. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---