1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00
puppet-fluentd/manifests/plugin/gem.pp

17 lines
333 B
ObjectPascal
Raw Permalink Normal View History

2015-12-03 10:59:51 +00:00
# Install fluentd gem plugins
#
define fluentd::plugin::gem (
$ensure = present,
) {
if $caller_module_name != $module_name {
fail("Use of private fluentd::plugin::gem by ${caller_module_name}")
}
package { $name:
ensure => $ensure,
provider => 'fluentd_gem',
2015-12-09 15:04:28 +00:00
notify => Class['Fluentd::Service'],
2015-12-03 10:59:51 +00:00
}
}