summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/master/passenger.pp8
1 files changed, 6 insertions, 2 deletions
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