diff options
Diffstat (limited to 'manifests/client/package.pp')
-rw-r--r-- | manifests/client/package.pp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/manifests/client/package.pp b/manifests/client/package.pp index f6e7a08..0ee7443 100644 --- a/manifests/client/package.pp +++ b/manifests/client/package.pp @@ -8,22 +8,14 @@ class munin::client::package inherits munin::client::base { ensure => $munin_node_ensure_version; } - Package['munin-node']{ - require => Package['munin-common'], + package { 'munin-node': ensure => $munin_node_ensure_version } + Service['munin-node']{ + require => Package[munin-node], + } + File['/etc/munin/munin-node.conf']{ + # this has to be installed before the package, so the postinst can + # boot the munin-node without failure! + before => Package['munin-node'], } } - - - package { 'munin-node': ensure => $munin_node_ensure_version } - - Service['munin-node']{ - require => Package[munin-node], - } - - File['/etc/munin/munin-node.conf']{ - # this has to be installed before the package, so the postinst can - # boot the munin-node without failure! - before => Package['munin-node'], - } - } |