Update cookbooks and add wordpress cookbook
This commit is contained in:
17
cookbooks/selinux/recipes/_common.rb
Normal file
17
cookbooks/selinux/recipes/_common.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
case node[:platform_family]
|
||||
when %r(debian|ubuntu)
|
||||
package 'selinux-utils'
|
||||
when 'rhel', 'fedora'
|
||||
package 'libselinux-utils'
|
||||
else
|
||||
# implement support for your platform here!
|
||||
raise "#{node[:platform_family]} not supported!"
|
||||
end
|
||||
|
||||
directory '/etc/selinux' do
|
||||
owner 'root'
|
||||
group 'root'
|
||||
mode '0755'
|
||||
action :create
|
||||
end
|
||||
Reference in New Issue
Block a user