trying to work my way again through selinux

This commit is contained in:
Arne Teuke
2017-07-20 17:21:09 +01:00
parent a33a855948
commit 3252eaf33a

View File

@@ -38,12 +38,12 @@ class cd_nagios::selinux::config (
creates => "${ng_user_home}/avc_alerts",
}
# sealert tac-cgi
# sealert tac-cgi
exec { 'create_policy_taccgi':
command => template($ng_taccgi_erb),
path => ['/usr/bin','/usr/sbin'],
cwd => $ng_user_home,
creates => '/tmp/my-taccgi.pp',
creates => "${ng_user_home}/my-taccgi.pp",
notify => Exec['semodule_taccgi'],
}
@@ -61,7 +61,7 @@ class cd_nagios::selinux::config (
command => template($ng_statcgi_erb),
path => ['/usr/bin','/usr/sbin'],
cwd => $ng_user_home,
creates => '/tmp/my-statuscgi.pp',
creates => "${ng_user_home}/my-statuscgi.pp",
notify => Exec['semodule_taccgi'],
}
@@ -72,6 +72,5 @@ class cd_nagios::selinux::config (
require => Exec['create_policy_statuscgi'],
refreshonly => true,
}
}
}