Add dependency on redis and do backups again

This commit is contained in:
Greg Karékinian 2017-04-21 12:54:16 +02:00
parent e98b887665
commit 208d6de94d

View File

@ -8,6 +8,7 @@
# #
include_recipe "kosmos-nodejs" include_recipe "kosmos-nodejs"
include_recipe "kosmos-redis"
node.override['postgresql']['enable_pgdg_apt'] = false node.override['postgresql']['enable_pgdg_apt'] = false
include_recipe "postgresql::server" include_recipe "postgresql::server"
include_recipe "postgresql::ruby" include_recipe "postgresql::ruby"
@ -154,10 +155,10 @@ application mastodon_path do
end end
end end
# unless node.chef_environment == "development" unless node.chef_environment == "development"
# # Backup the database to S3 # Backup the database to S3
# node.override["backup"]["postgresql"]["host"] = "localhost" node.override["backup"]["postgresql"]["host"] = "localhost"
# node.override["backup"]["postgresql"]["username"] = "postgres" node.override["backup"]["postgresql"]["username"] = "postgres"
# node.override["backup"]["postgresql"]["password"] = node['postgresql']['password']['postgres'] node.override["backup"]["postgresql"]["password"] = node['postgresql']['password']['postgres']
# include_recipe "backup" include_recipe "backup"
# end end