diff options
author | varac <varacanero@zeromail.org> | 2014-02-28 01:18:33 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-03-03 17:36:39 +0100 |
commit | f802fcdc7396d8a3b804be6480adb8611638f2c0 (patch) | |
tree | 639401012ef6266723f633bf6410146e6b082ac8 /puppet/modules/site_check_mk | |
parent | 08f0fa4c8b1853db04835f407350c052ccfdb3d8 (diff) |
Make leap_cli tests accessible for check_mk (Feature #5148)
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r-- | puppet/modules/site_check_mk/files/agent/local_checks/all_hosts/run_node_tests.sh | 5 | ||||
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent.pp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/agent/local_checks/all_hosts/run_node_tests.sh b/puppet/modules/site_check_mk/files/agent/local_checks/all_hosts/run_node_tests.sh new file mode 100644 index 00000000..1dd0afc9 --- /dev/null +++ b/puppet/modules/site_check_mk/files/agent/local_checks/all_hosts/run_node_tests.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# +# runs node tests + +/srv/leap/bin/run_tests --checkmk diff --git a/puppet/modules/site_check_mk/manifests/agent.pp b/puppet/modules/site_check_mk/manifests/agent.pp index efb05b37..b752182e 100644 --- a/puppet/modules/site_check_mk/manifests/agent.pp +++ b/puppet/modules/site_check_mk/manifests/agent.pp @@ -18,6 +18,11 @@ class site_check_mk::agent { ensure => directory, } + file { '/usr/lib/check_mk_agent/local/run_node_tests.sh': + source => 'puppet:///modules/site_check_mk/agent/local_checks/all_hosts/run_node_tests.sh', + mode => '0755' + } + include site_check_mk::agent::mrpe include site_check_mk::agent::logwatch } |