added control for forward.conf
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user