Skip to content

Commit

Permalink
Revert "Don't enable selinux on redhat systems"
Browse files Browse the repository at this point in the history
  • Loading branch information
hunner committed Jun 19, 2015
1 parent 5a43ad0 commit 0ff9191
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@ def ip6tables_flush_all_tables
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

0 comments on commit 0ff9191

Please sign in to comment.