aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon
diff options
context:
space:
mode:
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':