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

Side by Side Diff: modules/fluent/lib/puppet/provider/package/fluent_gem.rb

Issue 29338665: Issue 3694 - Introduce module fluent (Closed)
Patch Set: Created March 18, 2016, 6:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/fluent/lib/puppet/provider/package/td_agent_gem.rb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 require 'puppet/provider/package/gem'
2 require 'puppet/type'
3
4 # http://docs.puppetlabs.com/puppet/latest/reference/type.html#package-provider- gem
5 Puppet::Type.type(:package).provide :fluent_gem, :parent => :gem do
6
7 # http://docs.fluentd.org/articles/plugin-management#fluent-gem
8 desc 'Ruby Gem support for Fluentd packages, via fluent-gem'
9 commands :gemcmd => 'fluent-gem'
10
11 # https://projects.puppetlabs.com/issues/19663
12 def execute(command, arguments = {:failonfail => true, :combine => true})
13 command.delete('--include-dependencies')
14 super
15 end
16
17 end
OLDNEW
« no previous file with comments | « no previous file | modules/fluent/lib/puppet/provider/package/td_agent_gem.rb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld