diff --git a/manifests/requirements.pp b/manifests/requirements.pp index d76d71a9..e1f65878 100644 --- a/manifests/requirements.pp +++ b/manifests/requirements.pp @@ -89,9 +89,9 @@ replace => false, content => '# Puppet will install and/or update pip packages listed here', } - $subscribe = File[$requirements] + $local_subscribe = File[$requirements] } else { - $subscribe = undef + $local_subscribe = undef } exec { "python_requirements${name}": @@ -101,7 +101,7 @@ timeout => $timeout, cwd => $cwd, user => $owner, - subscribe => $subscribe, + subscribe => $local_subscribe, environment => $environment, } }