Hi All,

I'm trying to set up the puppetmaster to go through Apache/Passenger. I 
already have Apache/Passenger running and serving the dashboard. I followed 
the instructions at:

http://www.tomhayman.co.uk/linux/install-puppet-modpassenger-mysql-stored-procs-centos-6-rhel6/
http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
http://docs.puppetlabs.com/guides/passenger.html

However, it seems that Passenger expects to find my installation at 
/etc/puppet and /var/lib/puppet. However, my install is set up in a 
different part of the file system. How can I tell Passenger where my 
puppetmaster lives? Here's what I see in the Apache error log:

[Fri Jun 22 11:13:23 2012] [notice] Graceful restart requested, doing 
restart
[Fri Jun 22 11:13:23 2012] [notice] Digest: generating secret for digest 
authentication ...
[Fri Jun 22 11:13:23 2012] [notice] Digest: done
[Fri Jun 22 11:13:24 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 
OpenSSL/1.0.0e DAV/2 Phusion_Passenger/3.0.7 configured -- resuming normal 
operations
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; change from absent to directory failed: 
Could not set 'directory on ensure: Permission denied - /var/lib/puppet

$ gem list

*** LOCAL GEMS ***

activemodel (3.2.6)
activerecord (3.2.6)
activesupport (3.2.6)
arel (3.0.2)
builder (3.0.0)
daemon_controller (1.0.0, 0.2.6)
facter (1.5.8)
fastthread (1.0.7)
hiera (0.3.0)
hiera-mysql (0.1.1)
hiera-puppet (0.3.0)
i18n (0.6.0)
multi_json (1.3.6)
mysql (2.8.1)
passenger (3.0.7)
puppet (2.7.6)
rack (1.4.1, 1.2.2)
rake (0.9.2.2)
tzinfo (0.3.33)

Any help appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/nqKfkzFLVsgJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to