Resource Type: sensu_plugin
- Defined in:
- lib/puppet/type/sensu_plugin.rb
- Providers:
-
sensu_install
Summary
Manages Sensu pluginsOverview
Autorequires:
Package[sensu-plugins-ruby]
Examples:
Install a sensu plugin
sensu_plugin { 'disk-checks':
ensure => 'present',
}
Install specific version of a sensu plugin
sensu_plugin { 'disk-checks':
ensure => 'present',
version => '4.0.0',
}
Install latest version of a sensu plugin
sensu_plugin { 'disk-checks':
ensure => 'present',
version => 'latest',
}
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
version
Specific version to install, or latest
Supported values:- latest
- /[0-9\.]+/
Parameters
-
clean
(defaults to: true)
Clean up (remove) other installed versions of the plugin(s) and/or extension(s)
Supported values:- true
- false
-
extension
(defaults to: false)
Sets to install an extension instead of a plugin
Supported values:- true
- false
-
name (namevar)
Plugin or extension name
-
provider
The specific backend to use for this
sensu_plugin
resource. You will seldom need to specify this --- Puppet will usually discover the appropriate provider for your platform. -
proxy
Install Sensu plugins and extensions via a PROXY URL
-
source
Install Sensu plugins and extensions from a custom SOURCE