diff options
author | varac <varacanero@zeromail.org> | 2014-02-06 14:00:42 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-06 14:00:42 +0100 |
commit | 166bf4a33123afe5b17db68c22712408ebfb26ad (patch) | |
tree | 5b61914e309253feae7298eec48fe3278571a05d /puppet/modules/site_nagios | |
parent | 3d22399b2da5fe010ab15de5c641b67f45dc1982 (diff) |
added site_nagios::server::check_mk
Diffstat (limited to 'puppet/modules/site_nagios')
-rw-r--r-- | puppet/modules/site_nagios/manifests/server/check_mk.pp | 24 |
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'; + } +} |