From 5f0d397d09478326f3891735acf75e4722c9ba35 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Jan 2013 17:05:00 -0200 Subject: Adding puppet::master::passenger::disable_mongrel parameter --- manifests/master/passenger.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'manifests/master/passenger.pp') diff --git a/manifests/master/passenger.pp b/manifests/master/passenger.pp index 01f1dac..d14c2e7 100644 --- a/manifests/master/passenger.pp +++ b/manifests/master/passenger.pp @@ -1,7 +1,11 @@ # handles puppetmasterd service class puppet::master::passenger { - # make sure we're not running mongrel - include puppet::master::mongrel::disabled + # Make sure we're not running mongrel + # Useful when migrating from mongrel to passenger + $disable_mongrel = hiera('puppet::master::passenger::disable_mongrel', false) + if $disable_mongrel == true { + include puppet::master::mongrel::disabled + } # then include puppet class include puppet::daemon -- cgit v1.2.3