Douglas Garstang
2011-Apr-05 05:00 UTC
[Puppet Users] Passenger complains /etc/puppet/ssl doesn''t exist.
All, I just tried to get Passenger up and running, based on on the docs at: http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger I am seeing this in my Apache error_log whenever a client tries to connect: Could not prepare for execution: Got 2 failure(s) while initializing: change from absent to directory failed: Could not set ''directory on ensure: Permission denied - /etc/puppet/ssl; change from absent to directory failed: Could not set ''directory on ensure: Permission denied - /etc/puppet/manifests However, I have no references to my ssl dir being /etc/puppet/ssl. In fact, I have it explicitly set in [main] (and [puppetmaster] AND [agent] because the documentation is not clear on this), to /var/lib/puppet.ssl. Why is passenger trying to use /etc/puppet/ssl? My problem is identical to this... http://comments.gmane.org/gmane.comp.sysutils.puppet.user/28067 Doug -- 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.
Douglas Garstang
2011-Apr-05 05:17 UTC
[Puppet Users] Re: Passenger complains /etc/puppet/ssl doesn''t exist.
Actually... this may be the cause... my puppet.conf is in a non standard location, and when running puppetmaster, I''m setting --confdir=/etc/puppet/common in /etc/init.d/puppetserver. How can I set this for passenger? Doug. On Mon, Apr 4, 2011 at 10:00 PM, Douglas Garstang <doug.garstang@gmail.com>wrote:> All, > > I just tried to get Passenger up and running, based on on the docs at: > http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > > I am seeing this in my Apache error_log whenever a client tries to connect: > Could not prepare for execution: Got 2 failure(s) while initializing: > change from absent to directory failed: Could not set ''directory on ensure: > Permission denied - /etc/puppet/ssl; change from absent to directory failed: > Could not set ''directory on ensure: Permission denied - > /etc/puppet/manifests > > However, I have no references to my ssl dir being /etc/puppet/ssl. In fact, > I have it explicitly set in [main] (and [puppetmaster] AND [agent] because > the documentation is not clear on this), to /var/lib/puppet.ssl. Why is > passenger trying to use /etc/puppet/ssl? > > My problem is identical to this... > http://comments.gmane.org/gmane.comp.sysutils.puppet.user/28067 > > Doug > >-- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garstang@gmail.com Cell: +1-805-340-5627 -- 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.
Martin Alfke
2011-Apr-05 05:25 UTC
Re: [Puppet Users] Re: Passenger complains /etc/puppet/ssl doesn''t exist.
On 04/05/2011 07:17 AM, Douglas Garstang wrote:> Actually... this may be the cause... my puppet.conf is in a non standard > location, and when running puppetmaster, I''m setting > --confdir=/etc/puppet/common in /etc/init.d/puppetserver. How can I set > this for passenger?put this in your config.ru: ARGV << "--confdir=/etc/puppet/common"> > Doug. > > On Mon, Apr 4, 2011 at 10:00 PM, Douglas Garstang > <doug.garstang@gmail.com <mailto:doug.garstang@gmail.com>> wrote: > > All, > > I just tried to get Passenger up and running, based on on the docs at: > http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > > I am seeing this in my Apache error_log whenever a client tries to > connect: > Could not prepare for execution: Got 2 failure(s) while > initializing: change from absent to directory failed: Could not set > ''directory on ensure: Permission denied - /etc/puppet/ssl; change > from absent to directory failed: Could not set ''directory on ensure: > Permission denied - /etc/puppet/manifests > > However, I have no references to my ssl dir being /etc/puppet/ssl. > In fact, I have it explicitly set in [main] (and [puppetmaster] AND > [agent] because the documentation is not clear on this), to > /var/lib/puppet.ssl. Why is passenger trying to use /etc/puppet/ssl? > > My problem is identical to this... > http://comments.gmane.org/gmane.comp.sysutils.puppet.user/28067 > > Doug > > > > > -- > Regards, > > Douglas Garstang > http://www.linkedin.com/in/garstang > Email: doug.garstang@gmail.com <mailto:doug.garstang@gmail.com> > Cell: +1-805-340-5627 > > -- > 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.-- 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.
Douglas Garstang
2011-Apr-05 05:35 UTC
Re: [Puppet Users] Re: Passenger complains /etc/puppet/ssl doesn''t exist.
On Mon, Apr 4, 2011 at 10:25 PM, Martin Alfke <tuxmea@gmail.com> wrote:> On 04/05/2011 07:17 AM, Douglas Garstang wrote: > > Actually... this may be the cause... my puppet.conf is in a non standard > > location, and when running puppetmaster, I''m setting > > --confdir=/etc/puppet/common in /etc/init.d/puppetserver. How can I set > > this for passenger? > > put this in your config.ru: > > ARGV << "--confdir=/etc/puppet/common" > >Awesome. That did it. Thanks Martin! Doug. -- 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.