diff --git a/manifests/proxy.pp b/manifests/proxy.pp index f5d140eb..eb94c1ae 100644 --- a/manifests/proxy.pp +++ b/manifests/proxy.pp @@ -20,9 +20,14 @@ mode => '0644', } - Package['jenkins'] - -> File[$proxy_xml] - ~> Class['jenkins::service'] + if $jenkins::manage_service { + Package['jenkins'] + -> File[$proxy_xml] + ~> Class['jenkins::service'] + } else { + Package['jenkins'] + -> File[$proxy_xml] + } } else { $url = undef }