diff --git a/manifests/daemon.pp b/manifests/daemon.pp index 95690c5b1..708648203 100644 --- a/manifests/daemon.pp +++ b/manifests/daemon.pp @@ -60,7 +60,7 @@ $user, $group, - $install_method = $::prometheus::params::install_method, + $install_method = $::prometheus::install_method, $download_extension = $::prometheus::params::download_extension, $os = $::prometheus::params::os, $arch = $::prometheus::params::arch, @@ -148,7 +148,7 @@ } - if $init_style { + if $init_style and $install_method == 'url' { case $init_style { 'upstart' : {