Only do backups when not in development environment
This commit is contained in:
parent
fe44b29b62
commit
ead7db5eaf
@ -10,5 +10,8 @@
|
||||
node.override['redis']['unixsocket'] = ''
|
||||
include_recipe 'redis::server'
|
||||
|
||||
unless node.chef_environment == "development"
|
||||
# Backup the database to S3
|
||||
node.override["backup"]["redis"]["databases"] = ["dump"]
|
||||
include_recipe "backup"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user