title: How to run puppetmaster using Apache/Passenger
body: <p>Running Puppet v2.7.14 on CEntOs 6 and also using Apache/Passenger instead of WEBrick. I was told that <em><code>puppetmaster</code></em> service is not required to be running (hence: <code>chkconfig off puppetmaster</code>) running when using httpd and passenger but in my case, if I don't start <em><code>puppetmasterd</code></em> manually, none of the agents can connect to the master. I can start <em><code>httpd</code></em> just fine and <em>'passenger'</em> seems to start okay as well. This is my apache configuration file: </p>
  
  <pre><code># /etc/httpd/conf.d/passenger.conf 
  LoadModule passenger_module modules/mod_passenger.so
  
  &lt;IfModule mod_passenger.c&gt;
      PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12
      PassengerRuby /usr/bin/ruby
      #PassengerTempDir /var/run/rubygem-passenger
  
      PassengerHighPerformance on
      PassengerUseGlobalQueue on
      PassengerMaxPoolSize 15
      PassengerPoolIdleTime 150
      PassengerMaxRequests 10000
      PassengerStatThrottleRate 120
      RackAutoDetect Off
      RailsAutoDetect Off
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Upon restart, I see these in the httpd_error log:</p>
  
  <pre><code>[Sat Jun 09 04:06:47 2012] [notice] caught SIGTERM, shutting down
  [Sat Jun 09 09:06:51 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
  [Sat Jun 09 09:06:51 2012] [notice] Digest: generating secret for digest authentication ...
  [Sat Jun 09 09:06:51 2012] [notice] Digest: done
  [Sat Jun 09 09:06:51 2012] [notice] Apache/2.2.15 (Unix) DAV/2 Phusion_Passenger/3.0.12 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
  </code></pre>
  
  <p>And <em><code>passenger-status</code></em> prints these info on the screen:</p>
  
  <pre><code>----------- General information -----------
  max      = 15
  count    = 0
  active   = 0
  inactive = 0
  Waiting on global queue: 0
  
  ----------- Application groups -----------
  </code></pre>
  
  <p>But still, as I said, none of my agents can actually talk to the master until I start <em>puppetmasterd</em> manually. Does anyone know what am I still missing? Or, is this the way it supposed too be? Cheers!!</p>