From 5e1118756dc5fcec937b0bcc91d9fd16c5b1585f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 24 Feb 2011 23:47:43 +0000 Subject: add missing template file, and do not hardcode the hobbit server ( to test it on vm ) --- modules/xymon/manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/xymon/manifests') diff --git a/modules/xymon/manifests/init.pp b/modules/xymon/manifests/init.pp index b2a626d0..4da17da7 100644 --- a/modules/xymon/manifests/init.pp +++ b/modules/xymon/manifests/init.pp @@ -8,6 +8,8 @@ class xymon { ensure => running, path => '/etc/init.d/xymon-client', } + # TODO replace with a exported ressource + $server = extlookup('hobbit_server') file { '/etc/sysconfig/xymon-client': content => template("xymon/xymon-client"), } -- cgit v1.2.1