Skip to content

Commit

Permalink
Merge pull request #549 from puppetlabs/revert-548-disable_selinux
Browse files Browse the repository at this point in the history
Revert "Don't enable selinux on redhat systems"
  • Loading branch information
bmjen committed Jun 19, 2015
2 parents 5a43ad0 + 0ff9191 commit 185d2cd
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 185d2cd

Please sign in to comment.