I'm looking to setup a Passenger app using the puppetlabs-module, configuring via hiera. If I use the following vhost definition it works fine:
web::vhosts:
node.com:
docroot: /var/www/app
serveraliases: "%{fqdn}"
passenger_app_env: production
passenger_pre_start: "http://%{fqdn}/contact"
passenger_min_instances: 3
directories:
- path: /var/www/app
passenger_enabled: "on"
but if I try to define the pool_idle_time for passenger with the following config
web::vhosts:
node.com:
docroot: /var/www/app
serveraliases: "%{fqdn}"
passenger_app_env: production
passenger_pre_start: "http://%{fqdn}/contact"
passenger_min_instances: 3
passenger_pool_idle_time: 0
directories:
- path: /var/www/app
passenger_enabled: "on"
I get an error
> Error: Could not retrieve catalog from> remote server: Error 400 on SERVER:> Invalid parameter> passenger_pool_idle_time on node> abc.co.uk
but from looking at the templates/mod/passenger.conf.erb it looks as if that is an option that can be configured.
↧