From 9900e8f172db830d5453fdf44b4da262e81eab75 Mon Sep 17 00:00:00 2001 From: Max Wilhelm Date: Wed, 27 Jan 2016 11:59:00 +0100 Subject: [PATCH] fixed path for 'add GPG key' exec --- manifests/repo/yum.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, } }