Defined Type: grafana::plugin
- Defined in:
- manifests/plugin.pp
Overview
Installs plugins for Grafana.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/plugin.pp', line 12
define grafana::plugin (
Enum['present', 'absent', 'latest'] $ensure = 'present',
String $plugin = $title,
) {
if ! defined(Class['::grafana']) {
fail('You must include the grafana base class before using any grafana defined resources')
}
package { $plugin:
ensure => $ensure,
provider => grafana,
notify => Class['::grafana::service'],
}
}
|