diff options
Diffstat (limited to 'modules/munin/manifests/plugin.pp')
-rw-r--r-- | modules/munin/manifests/plugin.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/munin/manifests/plugin.pp b/modules/munin/manifests/plugin.pp new file mode 100644 index 0000000..09c2677 --- /dev/null +++ b/modules/munin/manifests/plugin.pp @@ -0,0 +1,7 @@ +define munin::plugin($source=$name) { + file { "/etc/munin/plugins/$name": + ensure => link, + target => "/usr/lib/munin/plugins/$source", + require => Package['munin-node']; + } +} |