summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAaron DeVore <aaron.devore@gmail.com>2013-05-18 22:52:20 -0700
committerAaron DeVore <aaron.devore@gmail.com>2013-05-18 22:52:20 -0700
commit26cb1fb50d87037bc5494124212bdc9165d62b34 (patch)
tree147603495b10278023de17da07038e7e338ae866 /manifests
parentc8693cf024b96d7eacd263cff0dbb48fb2a14b31 (diff)
Use the shell in an exec to avoid specifying a path
Diffstat (limited to 'manifests')
-rw-r--r--manifests/requirements.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/requirements.pp b/manifests/requirements.pp
index 3a32b0f..67d24ce 100644
--- a/manifests/requirements.pp
+++ b/manifests/requirements.pp
@@ -65,10 +65,11 @@ define python::requirements (
# SHA1 checksum to detect changes
exec { "python_requirements_check_${name}":
- command => "sha1sum ${requirements} > ${req_crc}",
- unless => "sha1sum -c ${req_crc}",
- user => $owner,
- require => File[$requirements],
+ provider => shell,
+ command => "sha1sum ${requirements} > ${req_crc}",
+ unless => "sha1sum -c ${req_crc}",
+ user => $owner,
+ require => File[$requirements],
}
exec { "python_requirements_update_${name}":