Add dependency on redis and do backups again
This commit is contained in:
parent
e98b887665
commit
208d6de94d
|
@ -8,6 +8,7 @@
|
|||
#
|
||||
|
||||
include_recipe "kosmos-nodejs"
|
||||
include_recipe "kosmos-redis"
|
||||
node.override['postgresql']['enable_pgdg_apt'] = false
|
||||
include_recipe "postgresql::server"
|
||||
include_recipe "postgresql::ruby"
|
||||
|
@ -154,10 +155,10 @@ application mastodon_path do
|
|||
end
|
||||
end
|
||||
|
||||
# unless node.chef_environment == "development"
|
||||
# # Backup the database to S3
|
||||
# node.override["backup"]["postgresql"]["host"] = "localhost"
|
||||
# node.override["backup"]["postgresql"]["username"] = "postgres"
|
||||
# node.override["backup"]["postgresql"]["password"] = node['postgresql']['password']['postgres']
|
||||
# include_recipe "backup"
|
||||
# end
|
||||
unless node.chef_environment == "development"
|
||||
# Backup the database to S3
|
||||
node.override["backup"]["postgresql"]["host"] = "localhost"
|
||||
node.override["backup"]["postgresql"]["username"] = "postgres"
|
||||
node.override["backup"]["postgresql"]["password"] = node['postgresql']['password']['postgres']
|
||||
include_recipe "backup"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue