diff --git a/manifests/repo/yum.pp b/manifests/repo/yum.pp index 14626fa..b13add5 100644 --- a/manifests/repo/yum.pp +++ b/manifests/repo/yum.pp @@ -19,7 +19,8 @@ class fluentd::repo::yum ( } exec { 'add GPG key': - command => "/usr/bin/rpm --import ${fluentd::repo::yum::gpgkey}", + command => "rpm --import ${fluentd::repo::yum::gpgkey}", + path => '/bin:/usr/bin/', refreshonly => true, } }