cookbooks/mu-tools/recipes/selinux.rb in cloud-mu-3.1.4 vs cookbooks/mu-tools/recipes/selinux.rb in cloud-mu-3.1.5

- old
+ new

@@ -2,10 +2,11 @@ # Cookbook:: mu-tools # Recipe:: selinux # # Copyright:: 2019, The Authors, All Rights Reserved. -if !node['application_attributes']['skip_recipes'].include?('selinux') +if !node['application_attributes']['skip_recipes'].include?('selinux') and + (platform_family?("rhel") or platform_family?("amazon")) selinux_state "SELinux Enforcing" do action :enforcing notifies :request_reboot, 'reboot[now]', :immediately end