summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nagios/manifests/server
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-06 14:00:42 +0100
committervarac <varacanero@zeromail.org>2014-02-06 14:00:42 +0100
commit166bf4a33123afe5b17db68c22712408ebfb26ad (patch)
tree5b61914e309253feae7298eec48fe3278571a05d /puppet/modules/site_nagios/manifests/server
parent3d22399b2da5fe010ab15de5c641b67f45dc1982 (diff)
added site_nagios::server::check_mk
Diffstat (limited to 'puppet/modules/site_nagios/manifests/server')
-rw-r--r--puppet/modules/site_nagios/manifests/server/check_mk.pp24
1 files changed, 24 insertions, 0 deletions
diff --git a/puppet/modules/site_nagios/manifests/server/check_mk.pp b/puppet/modules/site_nagios/manifests/server/check_mk.pp
new file mode 100644
index 00000000..c6676d76
--- /dev/null
+++ b/puppet/modules/site_nagios/manifests/server/check_mk.pp
@@ -0,0 +1,24 @@
+class site_nagios::server::check_mk {
+
+ # override paths to use the system check_mk rather than OMD
+ class { 'check_mk::config':
+ site => '',
+ etc_dir => '/etc',
+ bin_dir => '/usr/bin',
+ host_groups => undef
+ }
+
+ file {
+ '/etc/nagios/check_mk':
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => '0755';
+
+ '/etc/nagios/check_mk/.ssh':
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => '0755';
+ }
+}