OLD | NEW |
(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 |
OLD | NEW |