From aaad9d3cb0c18e31bcda27eef794b668cc824e92 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 29 Apr 2018 13:34:32 +0200 Subject: [PATCH] updates mode --- manifests/selinux/config.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'],