diff options
author | mh <mh@immerda.ch> | 2013-05-20 16:04:07 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-05-20 16:09:31 +0200 |
commit | 4fabfbd53cfb7c35cf7ad9ff03b6b38d4daed7b4 (patch) | |
tree | 35cea961d9f7f8dbd532eb10c33040a615bbbde4 /manifests/master/package | |
parent | 9eb6c4f0e5fec4d24b0480b186ce83f490d68b80 (diff) |
if it runs with passenger there is no such service
Diffstat (limited to 'manifests/master/package')
-rw-r--r-- | manifests/master/package/base.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/master/package/base.pp b/manifests/master/package/base.pp index 0a1fa33..2851747 100644 --- a/manifests/master/package/base.pp +++ b/manifests/master/package/base.pp @@ -4,7 +4,9 @@ class puppet::master::package::base inherits puppet::master::package { ensure => $puppet::ensure_version, } - Service['puppetmaster']{ - require +> Package['puppetmaster'], + if $puppet::master::mode != 'passenger' { + Service['puppetmaster']{ + require +> Package['puppetmaster'], + } } } |