Index: modules/fluent/lib/puppet/provider/package/td_agent_gem.rb |
diff --git a/modules/fluent/lib/puppet/provider/package/td_agent_gem.rb b/modules/fluent/lib/puppet/provider/package/td_agent_gem.rb |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d1ae3eefba07db83313485d0972ec51949e627ef |
--- /dev/null |
+++ b/modules/fluent/lib/puppet/provider/package/td_agent_gem.rb |
@@ -0,0 +1,11 @@ |
+require 'puppet/provider/package/gem' |
+require 'puppet/type' |
+ |
+# modules/fluent/lib/puppet/provider/package/fluent_gem.rb |
+Puppet::Type.type(:package).provide :td_agent_gem, :parent => :fluent_gem do |
+ |
+ # http://docs.fluentd.org/articles/plugin-management#if-using-td-agent-use-usrsbintd-agent-gem |
+ desc 'Ruby Gem support for Fluentd packages, via td-agent-gem' |
+ commands :gemcmd => 'td-agent-gem' |
+ |
+end |