diff options
author | varac <varacanero@zeromail.org> | 2014-02-05 17:29:01 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-05 17:29:01 +0100 |
commit | 3d22399b2da5fe010ab15de5c641b67f45dc1982 (patch) | |
tree | 3191b729a51813f415de533ed44dde83b81a7706 /puppet/modules/site_nagios/manifests | |
parent | dbca8237f915e2a4d3802d90dcb10aece50a4cc4 (diff) |
use check_mk::agent to install check-mk-agent
Diffstat (limited to 'puppet/modules/site_nagios/manifests')
-rw-r--r-- | puppet/modules/site_nagios/manifests/client.pp | 8 |
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 } } |