diff options
author | varac <varacanero@zeromail.org> | 2014-02-12 16:34:50 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-12 16:34:50 +0100 |
commit | f9e494265f6c7b83ab9ef418e40cc7aac5589563 (patch) | |
tree | 587cc75979c1163c4f138bfaa25f997e5a00872e | |
parent | abbff591f5f0b707e23d7f66e6ed22e234a95502 (diff) |
added class to deploy local checks
-rw-r--r-- | files/agent/local_checks/all_hosts/README.md | 2 | ||||
-rw-r--r-- | manifests/agent/local_checks.pp | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/files/agent/local_checks/all_hosts/README.md b/files/agent/local_checks/all_hosts/README.md new file mode 100644 index 0000000..f5234cb --- /dev/null +++ b/files/agent/local_checks/all_hosts/README.md @@ -0,0 +1,2 @@ +Place local checks in this directory, +see http://mathias-kettner.de/checkmk_localchecks.html diff --git a/manifests/agent/local_checks.pp b/manifests/agent/local_checks.pp new file mode 100644 index 0000000..04896b0 --- /dev/null +++ b/manifests/agent/local_checks.pp @@ -0,0 +1,11 @@ +class check_mk::agent::local_checks{ + file { '/usr/lib/check_mk_agent/local': + ensure => directory, + source => [ + 'puppet:///modules/site_check_mk/agent/local_checks/all_hosts', + 'puppet:///modules/check_mk/agent/local_checks/all_hosts' ], + recurse => true, + require => Package['check_mk-agent'], + } + +} |