included control for nagios.conf

This commit is contained in:
Arne Teuke
2017-07-21 11:43:06 +01:00
parent 5fcf6031fa
commit 49551a3d9a
3 changed files with 115 additions and 20 deletions

View File

@@ -46,5 +46,21 @@ class cd_nagios::server::files (
content => template($ng_cgi_cfg_erb),
notify => Service[$ng_service],
}
# manage nagios.conf for httpd
file { $ng_nagios_conf:
ensure => file,
path => $ng_nagios_conf,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => httpd_config_t,
seluser => system_u,
content => template($ng_nagios_conf_erb),
notify => Service[$ae_service],
}
}
}