diff --git a/manifests/selinux/config.pp b/manifests/selinux/config.pp index 4aa7051..af2c241 100644 --- a/manifests/selinux/config.pp +++ b/manifests/selinux/config.pp @@ -47,7 +47,7 @@ class cd_nagios::selinux::config ( } exec { 'semodule_taccgi': - command => 'semodule -i my-taccgi.pp', + command => "semodule -i ${ng_user_home}/my-taccgi.pp", path => ['/usr/bin','/usr/sbin'], cwd => $ng_user_home, require => Exec['create_policy_taccgi'], @@ -122,7 +122,7 @@ class cd_nagios::selinux::config ( } exec { 'semodule_statusdat': - command => 'semodule -i my-httpd.pp', + command => "semodule -i ${ng_user_home}/my-httpd.pp", path => ['/usr/bin','/usr/sbin'], cwd => $ng_user_home, require => Exec['create_policy_statusdat'],