summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-05 17:29:01 +0100
committervarac <varacanero@zeromail.org>2014-02-05 17:29:01 +0100
commit3d22399b2da5fe010ab15de5c641b67f45dc1982 (patch)
tree3191b729a51813f415de533ed44dde83b81a7706
parentdbca8237f915e2a4d3802d90dcb10aece50a4cc4 (diff)
use check_mk::agent to install check-mk-agent
-rw-r--r--puppet/modules/site_nagios/manifests/client.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/puppet/modules/site_nagios/manifests/client.pp b/puppet/modules/site_nagios/manifests/client.pp
index ea6062a0..82063dc3 100644
--- a/puppet/modules/site_nagios/manifests/client.pp
+++ b/puppet/modules/site_nagios/manifests/client.pp
@@ -1,5 +1,9 @@
class site_nagios::client {
- package { [ 'check-mk-agent', 'check-mk-agent-logwatch' ]:
- ensure => installed,
+ class { 'check_mk::agent':
+ agent_package_name => 'check-mk-agent',
+ agent_logwatch_package_name => 'check-mk-agent-logwatch',
+ method => 'ssh',
+ homedir => '/etc/nagios/check_mk',
+ register_agent => false
}
}