Skip to content

Commit 26cb1fb

Browse files
committed
Use the shell in an exec to avoid specifying a path
1 parent c8693cf commit 26cb1fb

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

manifests/requirements.pp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,11 @@
6565

6666
# SHA1 checksum to detect changes
6767
exec { "python_requirements_check_${name}":
68-
command => "sha1sum ${requirements} > ${req_crc}",
69-
unless => "sha1sum -c ${req_crc}",
70-
user => $owner,
71-
require => File[$requirements],
68+
provider => shell,
69+
command => "sha1sum ${requirements} > ${req_crc}",
70+
unless => "sha1sum -c ${req_crc}",
71+
user => $owner,
72+
require => File[$requirements],
7273
}
7374

7475
exec { "python_requirements_update_${name}":

0 commit comments

Comments
 (0)