From 0ff9191fb73bd15fb77dc4d81b270451a8091f32 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Fri, 19 Jun 2015 13:55:41 -0700 Subject: [PATCH] Revert "Don't enable selinux on redhat systems" --- spec/spec_helper_acceptance.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 0baeed1..383e34b 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -30,17 +30,6 @@ RSpec.configure do |c| hosts.each do |host| copy_module_to(host, :source => proj_root, :module_name => 'firewall') on host, puppet('module install puppetlabs-stdlib --version 3.2.0'), { :acceptable_exit_codes => [0,1] } - if ! UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) - pp = <<-EOS - if $::osfamily == 'RedHat' { - exec { 'setenforce Permissive': - path => ['/bin','/usr/bin','/sbin','/usr/sbin'], - onlyif => 'getenforce | grep Enforcing', - } - } - EOS - apply_manifest(pp, :catch_failures => true) - end end end end -- 2.45.2