Add new Redis cookbook

This commit is contained in:
2021-11-16 13:25:30 -06:00
parent 80ec84782b
commit 18f65c4fc5
66 changed files with 5780 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# disable the default OS redis init script
service_name = case node['platform']
when 'debian', 'ubuntu'
'redis-server'
when 'redhat', 'centos', 'fedora', 'scientific', 'suse', 'amazon'
'redis'
end
service service_name do
action [:stop, :disable]
only_if { service_name }
end