From 57740bc18d0e40b011e10fe7ef97646a3f14b229 Mon Sep 17 00:00:00 2001 From: Coto Cisternas Date: Sat, 16 Jan 2016 00:15:58 -0300 Subject: [PATCH] confine for provider --- lib/puppet/provider/package/fluentd-gem.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/provider/package/fluentd-gem.rb b/lib/puppet/provider/package/fluentd-gem.rb index b1476e2..0e981ac 100644 --- a/lib/puppet/provider/package/fluentd-gem.rb +++ b/lib/puppet/provider/package/fluentd-gem.rb @@ -8,6 +8,7 @@ Puppet::Type.type(:package).provide :fluentd_gem, :parent => :gem do not a valid URL, it will be interpreted as the path to a local gem file. If source is not present at all, the gem will be installed from the default gem repositories." + confine :exists => "/opt/td-agent/embedded/bin/gem" has_feature :versionable, :install_options