OP#491 split config files for remoteip

This commit is contained in:
2026-03-12 16:22:29 +01:00
parent bbd939435b
commit e301619012

View File

@@ -58,19 +58,18 @@ class confdroid_nagios::server::files (
content => template('confdroid_nagios/loadbalancer/remoteip.conf.erb'), content => template('confdroid_nagios/loadbalancer/remoteip.conf.erb'),
notify => Service['httpd'], notify => Service['httpd'],
} }
} file { $ng_loadmodule_file:
ensure => file,
file { $ng_loadmodule_file: owner => 'root',
ensure => file, group => 'root',
owner => 'root', mode => '0644',
group => 'root', selrange => s0,
mode => '0644', selrole => object_r,
selrange => s0, seltype => httpd_conf_t,
selrole => object_r, seluser => system_u,
seltype => httpd_conf_t, content => template('confdroid_nagios/loadbalancer/loadmodule.conf.erb'),
seluser => system_u, notify => Service['httpd'],
content => template('confdroid_nagios/loadbalancer/loadmodule.conf.erb'), }
notify => Service['httpd'],
} }
} }
} }