added control for forward.conf

This commit is contained in:
Arne Teuke
2017-07-21 14:43:07 +01:00
parent 46d3b02f76
commit d9863d874f
5 changed files with 41 additions and 4 deletions

View File

@@ -63,7 +63,24 @@ class cd_nagios::server::files (
notify => Service[$ae_service],
}
# manage index.gtml for nagios web server
if $ng_http_https_fw == true {
file { $ng_forward_conf:
ensure => file,
path => $ng_forward_conf,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => httpd_config_t,
seluser => system_u,
content => template($ng_forward_conf_erb),
notify => Service[$ae_service],
}
}
# manage welcome.conf for nagios web server
if $ng_disable_welcome == true {