Use string keys for piwik configuration items
authorTom Hughes <tom@compton.nu>
Fri, 1 Dec 2017 00:26:09 +0000 (00:26 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 1 Dec 2017 00:26:09 +0000 (00:26 +0000)
cookbooks/web/recipes/rails.rb

index d10f70c..c57f81b 100644 (file)
@@ -73,9 +73,9 @@ rails_port "www.openstreetmap.org" do
   potlatch2_key web_passwords["potlatch2_key"]
   id_key web_passwords["id_key"]
   oauth_key web_passwords["oauth_key"]
-  piwik_configuration :location => piwik[:location],
-                      :site => piwik[:site],
-                      :goals => piwik[:goals].to_hash
+  piwik_configuration "location" => piwik[:location],
+                      "site" => piwik[:site],
+                      "goals" => piwik[:goals].to_hash
   google_auth_id "651529786092-6c5ahcu0tpp95emiec8uibg11asmk34t.apps.googleusercontent.com"
   google_auth_secret web_passwords["google_auth_secret"]
   google_openid_realm "https://www.openstreetmap.org"