Kmbu
2012-Jun-22 15:02 UTC
[Puppet Users] Cannot set up Puppet to use Apache/Passenger on a custom install
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-Jun-22 15:06 UTC
Re: [Puppet Users] Cannot set up Puppet to use Apache/Passenger on a custom install
On Fri, Jun 22, 2012 at 8:02 AM, Kmbu <yumsau@hotmail.com> wrote:> 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.htmlIn config.ru you can modify the arguments passed to the Puppet master process. I recommend setting --confdir in config.ru and then set vardir in puppet.conf. -Jeff -- 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.
Kmbu
2012-Jun-23 11:27 UTC
Re: [Puppet Users] Cannot set up Puppet to use Apache/Passenger on a custom install
Just wanted to write back to say that everything works like a charm now. I started with this due to capacity issues, so I intend to try increasing the load to see how much more the Apache/Passenger setup can handle as compared to the built-in server. Thanks for the support! On Friday, 22 June 2012 17:06:18 UTC+2, Jeff McCune wrote:> > On Fri, Jun 22, 2012 at 8:02 AM, Kmbu wrote: > > 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 > > In config.ru you can modify the arguments passed to the Puppet master > process. > > I recommend setting --confdir in config.ru and then set vardir in > puppet.conf. > > -Jeff >-- 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/-/A8B_u7wskwMJ. 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.