diff options
author | Buchan Milne <buchan@mageia.org> | 2011-03-03 12:13:54 +0000 |
---|---|---|
committer | Buchan Milne <buchan@mageia.org> | 2011-03-03 12:13:54 +0000 |
commit | 5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7 (patch) | |
tree | 533ccd6b7bf00e5bdb4ff10d8f3f603afe27c714 | |
parent | dcf759d77d84931dc9faa8b6386b3c5ddf890ccc (diff) | |
download | puppet-5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7.tar puppet-5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7.tar.gz puppet-5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7.tar.bz2 puppet-5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7.tar.xz puppet-5fcc58b4fcefd179fc55d70a50b46f00b50c3cb7.zip |
Better fix
-rw-r--r-- | modules/xymon/manifests/init.pp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp index 7ec8cc58..ebe3ef35 100644 --- a/modules/xymon/manifests/init.pp +++ b/modules/xymon/manifests/init.pp @@ -16,7 +16,8 @@ class xymon { } class server { - package { xymon: + $package_list = ["xymon","fping"] + package { $package_list: ensure => installed, } service { xymon: @@ -33,10 +34,7 @@ class xymon { owner => root, group => xymon, mode => 644, - require => [ - Package["xymon"], - Package["fping"], - ], + require => Package["xymon"], notify => Service["xymon"], content => template("xymon/hobbitserver.cfg"), } |