We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ad3da4 + fe9aa8a commit ba0a5feCopy full SHA for ba0a5fe
1 file changed
manifests/redhat.pp
@@ -37,15 +37,15 @@
37
38
exec { 'install-gpg-key':
39
command => "/bin/rpm --import ${public_key_local}",
40
- onlyif => "/bin/gpg --quiet --with-fingerprint -n ${public_key_local} | grep \'A4C0 B90D 7443 CF6E 4E8A A341 F106 8E14 E094 22B3\'",
+ onlyif => "/usr/bin/gpg --quiet --with-fingerprint -n ${public_key_local} | grep \'A4C0 B90D 7443 CF6E 4E8A A341 F106 8E14 E094 22B3\'",
41
unless => '/bin/rpm -q gpg-pubkey-e09422b3',
42
require => Remote_file['DATADOG_RPM_KEY.public'],
43
notify => Exec['cleanup-gpg-key'],
44
}
45
46
exec { 'cleanup-gpg-key':
47
command => "/bin/rm ${public_key_local}",
48
- onlyif => "/bin/test -f ${public_key_local}",
+ onlyif => "/usr/bin/test -f ${public_key_local}",
49
50
51
yumrepo {'datadog':
0 commit comments