X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/261e7e9cd1a9882faa4ed7087b5902ebafe25988..9a3fee3b9f30028f6c0ee703dbf9ce86b4bab17b:/cookbooks/dev/recipes/default.rb diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index 29ce0c063..f8098faec 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -129,7 +129,7 @@ search(:accounts, "*:*").each do |account| end end -if node[:postgresql][:clusters]["9.1/main"] +if node[:postgresql][:clusters][:"9.1/main"] postgresql_user "apis" do cluster "9.1/main" end @@ -158,7 +158,7 @@ if node[:postgresql][:clusters]["9.1/main"] group "apis" repository details[:repository] revision details[:revision] - database_port node[:postgresql][:clusters]["9.1/main"][:port] + database_port node[:postgresql][:clusters][:"9.1/main"][:port] database_name database_name database_username "apis" run_migrations true