aboutsummaryrefslogtreecommitdiffstats
path: root/modules/xymon/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-24 23:47:43 +0000
committerMichael Scherer <misc@mageia.org>2011-02-24 23:47:43 +0000
commit5e1118756dc5fcec937b0bcc91d9fd16c5b1585f (patch)
treebc81cd1495c6d949ae03a388c58687f0e2586042 /modules/xymon/manifests
parentecce0d65642bf86d6ec15f0a0d291a97cba4ba92 (diff)
downloadpuppet-5e1118756dc5fcec937b0bcc91d9fd16c5b1585f.tar
puppet-5e1118756dc5fcec937b0bcc91d9fd16c5b1585f.tar.gz
puppet-5e1118756dc5fcec937b0bcc91d9fd16c5b1585f.tar.bz2
puppet-5e1118756dc5fcec937b0bcc91d9fd16c5b1585f.tar.xz
puppet-5e1118756dc5fcec937b0bcc91d9fd16c5b1585f.zip
add missing template file, and do not hardcode the hobbit server ( to test it on vm )
Diffstat (limited to 'modules/xymon/manifests')
-rw-r--r--modules/xymon/manifests/init.pp2
1 files changed, 2 insertions, 0 deletions
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"),
}