From db5434475f5534164d890112f5221b747f3214d7 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 29 Apr 2018 13:22:56 +0200 Subject: [PATCH] removes selinux checks --- manifests/selinux/config.pp | 90 ++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/manifests/selinux/config.pp b/manifests/selinux/config.pp index 4d0fc45..4aa7051 100644 --- a/manifests/selinux/config.pp +++ b/manifests/selinux/config.pp @@ -56,60 +56,60 @@ class cd_nagios::selinux::config ( # sealert status.cgi - exec { 'create_policy_statuscgi': - command => template($ng_statcgi_erb), - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - creates => "${ng_user_home}/my-statuscgi.pp", - notify => Exec['semodule_statuscgi'], - } +# exec { 'create_policy_statuscgi': +# command => template($ng_statcgi_erb), +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# creates => "${ng_user_home}/my-statuscgi.pp", +# notify => Exec['semodule_statuscgi'], +# } - exec { 'semodule_statuscgi': - command => 'semodule -i my-statuscgi.pp', - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - require => Exec['create_policy_statuscgi'], - refreshonly => true, - notify => Service[$ng_service], - } +# exec { 'semodule_statuscgi': +# command => 'semodule -i my-statuscgi.pp', +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# require => Exec['create_policy_statuscgi'], +# refreshonly => true, +# notify => Service[$ng_service], +# } # sealert check_nrpe - exec { 'create_policy_checknrpe': - command => template($ng_checknrpe_erb), - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - creates => "${ng_user_home}/my-checknrpe.pp", - notify => Exec['semodule_checknrpe'], - } +# exec { 'create_policy_checknrpe': +# command => template($ng_checknrpe_erb), +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# creates => "${ng_user_home}/my-checknrpe.pp", +# notify => Exec['semodule_checknrpe'], +# } - exec { 'semodule_checknrpe': - command => 'semodule -i my-checknrpe.pp', - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - require => Exec['create_policy_checknrpe'], - refreshonly => true, - notify => Service[$ng_service], - } +# exec { 'semodule_checknrpe': +# command => 'semodule -i my-checknrpe.pp', +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# require => Exec['create_policy_checknrpe'], +# refreshonly => true, +# notify => Service[$ng_service], +# } # selart check_nagios - exec { 'create_policy_checknagios': - command => template($ng_checknagios_erb), - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - creates => "${ng_user_home}/my-checknagios.pp", - notify => Exec['semodule_checknagios'], - } +# exec { 'create_policy_checknagios': +# command => template($ng_checknagios_erb), +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# creates => "${ng_user_home}/my-checknagios.pp", +# notify => Exec['semodule_checknagios'], +# } - exec { 'semodule_checknagios': - command => 'semodule -i my-checknagios.pp', - path => ['/usr/bin','/usr/sbin'], - cwd => $ng_user_home, - require => Exec['create_policy_checknagios'], - refreshonly => true, - notify => Service[$ng_service], - } +# exec { 'semodule_checknagios': +# command => 'semodule -i my-checknagios.pp', +# path => ['/usr/bin','/usr/sbin'], +# cwd => $ng_user_home, +# require => Exec['create_policy_checknagios'], +# refreshonly => true, +# notify => Service[$ng_service], +# } # sealert status.dat