---
recipes/aeolus_recipe/manifests/selinux.pp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/recipes/aeolus_recipe/manifests/selinux.pp
b/recipes/aeolus_recipe/manifests/selinux.pp
index 05a3174..aa6e401 100644
--- a/recipes/aeolus_recipe/manifests/selinux.pp
+++ b/recipes/aeolus_recipe/manifests/selinux.pp
@@ -7,5 +7,7 @@ define selinux::mode(){
}
exec{"set_selinux_${name}":
command => "/usr/sbin/setenforce ${mode}"
+ unless => "/usr/bin/test 'Disabled' = `/usr/sbin/getenforce`"
}
}
+
--
1.7.4
Show replies by date