diff --git a/manifests/repo/yum.pp b/manifests/repo/yum.pp index 25a4a5a..fea6b9a 100644 --- a/manifests/repo/yum.pp +++ b/manifests/repo/yum.pp @@ -26,7 +26,7 @@ class fluentd::repo::yum ( exec { 'remove old GPG key': command => 'rpm -e --allmatches gpg-pubkey-a12e206f-*', - path => '/bin:/usr/bin/', + path => '/bin:/usr/bin/', onlyif => 'rpm -qi gpg-pubkey-a12e206f-*', notify => Exec['add GPG key'], }