summaryrefslogtreecommitdiff
path: root/manifests/plugins
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-11-03 17:55:54 +0100
committermh <mh@immerda.ch>2013-11-03 17:55:54 +0100
commitad37140f6123c0e85cfbeb23dee5b3ea3c324701 (patch)
tree9a8e0e709386e2f1d7e02c1db213e774b57856ab /manifests/plugins
parent03c50709169ee38cd5d759c461389b2a476fcc64 (diff)
remove anchor dependency - fixed #26
given that all os are using package installation now, we can replace the anchor with the package dependency. It also caused a dependency cycle as the anchor was for the whole class and not only the package installation.
Diffstat (limited to 'manifests/plugins')
-rw-r--r--manifests/plugins/setup.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/plugins/setup.pp b/manifests/plugins/setup.pp
index e1a57d9..23222ec 100644
--- a/manifests/plugins/setup.pp
+++ b/manifests/plugins/setup.pp
@@ -4,7 +4,7 @@ class munin::plugins::setup {
file {
[ '/etc/munin/plugins', '/etc/munin/plugin-conf.d' ]:
ensure => directory,
- require => Anchor['munin::client::installed'],
+ require => Package['munin-node'],
ignore => 'snmp_*',
checksum => mtime,
recurse => true,
@@ -16,7 +16,7 @@ class munin::plugins::setup {
mode => '0755';
'/etc/munin/plugin-conf.d/munin-node':
ensure => present,
- require => Anchor['munin::client::installed'],
+ require => Package['munin-node'],
notify => Service['munin-node'],
owner => root,
group => 0,