adjusted all params etc

This commit is contained in:
Arne Teuke
2025-05-12 15:56:17 +02:00
parent bfa5f46e2f
commit 4ebbfed5ea
85 changed files with 1880 additions and 20534 deletions

View File

@@ -28,25 +28,23 @@
class cd_nagios::nagios::resources::resource (
) inherits cd_nagios::params {
if $fqdn == $ng_nagios_server {
concat { $ng_resource_file:
ensure => present,
owner => 'root',
group => $ng_user,
mode => '0640',
selrange => s0,
selrole => object_r,
seltype => nagios_etc_t,
seluser => system_u,
notify => Service[$ng_service],
ensure => present,
owner => 'root',
group => $ng_user,
mode => '0640',
selrange => s0,
selrole => object_r,
seltype => nagios_etc_t,
seluser => system_u,
notify => Service[$ng_service],
}
concat::fragment { 'header':
target => $ng_resource_file,
content => template($ng_resource_erb),
order => '000',
target => $ng_resource_file,
content => template($ng_resource_erb),
order => '000',
}
# plugins rule