aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-08-17 21:59:47 +0000
committerMichael Scherer <misc@mageia.org>2011-08-17 21:59:47 +0000
commit8dfab26e68a24748f2f8970cec70a87ffb5f87be (patch)
tree957397e8087d5efff9bbf82631c8c71068bd3b5a /modules/xymon
parent19d26d0c7a3090f0a2739bee30675fe1901b6414 (diff)
downloadpuppet-8dfab26e68a24748f2f8970cec70a87ffb5f87be.tar
puppet-8dfab26e68a24748f2f8970cec70a87ffb5f87be.tar.gz
puppet-8dfab26e68a24748f2f8970cec70a87ffb5f87be.tar.bz2
puppet-8dfab26e68a24748f2f8970cec70a87ffb5f87be.tar.xz
puppet-8dfab26e68a24748f2f8970cec70a87ffb5f87be.zip
service xymon will not work without the rpm
Diffstat (limited to 'modules/xymon')
-rw-r--r--modules/xymon/manifests/init.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp
index 487ff979..3a3a2a51 100644
--- a/modules/xymon/manifests/init.pp
+++ b/modules/xymon/manifests/init.pp
@@ -4,10 +4,13 @@ class xymon {
package { xymon-client:
ensure => installed,
}
+
service { xymon-client:
ensure => running,
path => '/etc/init.d/xymon-client',
+ require => Package['xymon-client'],
}
+
# TODO replace with a exported ressource
$server = extlookup('hobbit_server','x')
file { '/etc/sysconfig/xymon-client':