Puppet Defined Type: plugin

Defined in:
manifests/plugin.pp

Overview

Manage the installation of a Logstash plugin.

By default, plugins are downloaded from RubyGems, but it is also possible to install from a local Gem, or one stored in Puppet.

Examples:

install a plugin

logstash::plugin { 'logstash-input-stdin': }

remove a plugin

logstash::plugin { 'logstash-input-stout':
  ensure => absent,
}

install a plugin from a local file

logstash::plugin { 'logstash-input-custom':
  source => 'file:///tmp/logstash-input-custom.gem',
}

install a plugin from a Puppet module.

logstash::plugin { 'logstash-input-custom':
  source => 'puppet:///modules/logstash-site-plugins/logstash-input-custom.gem',
}

Parameter Summary