Update cookbooks and add wordpress cookbook

This commit is contained in:
Greg Karékinian
2016-02-19 18:09:49 +01:00
parent 9ba973e3ac
commit 820b0ab3f8
606 changed files with 22421 additions and 14084 deletions

View File

@@ -0,0 +1,13 @@
module SELinuxServiceHelpers
def self.selinux_bool(bool)
if ['on', 'true', '1', true, 1].include? bool
'on'
elsif ['off', 'false', '0', false, 0].include? bool
'off'
else
Chef::Log.warn "Not a valid boolean value: #{bool}"
nil
end
end
end