Skip to content

Commit

Permalink
Merge pull request #490 from SearchLightNZ/fix_requirements_subscribe
Browse files Browse the repository at this point in the history
Fix $subscribe overloading
  • Loading branch information
bastelfreak authored May 30, 2019
2 parents 617cf5d + 96441ec commit 374abf8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/requirements.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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}":
Expand All @@ -101,7 +101,7 @@
timeout => $timeout,
cwd => $cwd,
user => $owner,
subscribe => $subscribe,
subscribe => $local_subscribe,
environment => $environment,
}
}

0 comments on commit 374abf8

Please sign in to comment.