diff --git a/manifests/selinux/config.pp b/manifests/selinux/config.pp index 2cf5f1c..7abb76b 100644 --- a/manifests/selinux/config.pp +++ b/manifests/selinux/config.pp @@ -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, } - } }