Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/fluent/lib/puppet/provider/package/td_agent_gem.rb

Issue 29338665: Issue 3694 - Introduce module fluent (Closed)
Patch Set: Created March 18, 2016, 6:06 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/fluent/lib/puppet/provider/package/fluent_gem.rb ('k') | modules/fluent/manifests/config.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « modules/fluent/lib/puppet/provider/package/fluent_gem.rb ('k') | modules/fluent/manifests/config.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld