From 26cb1fb50d87037bc5494124212bdc9165d62b34 Mon Sep 17 00:00:00 2001 From: Aaron DeVore Date: Sat, 18 May 2013 22:52:20 -0700 Subject: Use the shell in an exec to avoid specifying a path --- manifests/requirements.pp | 9 +++++---- 1 file 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}": -- cgit v1.2.3