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
> <[email protected] <mailto:[email protected]>> 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: [email protected] <mailto:[email protected]>
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to