X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/ba9dff51d4737f22436abe1359d3b24f7f69e8fd..7f45655d90198b8d708f81a29460b6831a6c95ad:/cookbooks/web/resources/rails_port.rb diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 961bbc3a4..3fd031dd8 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -70,7 +70,7 @@ property :thunderforest_key, String property :totp_key, String property :csp_enforce, [true, false], :default => false property :csp_report_url, String -property :piwik_configuration, Hash +property :matomo_configuration, Hash property :storage_service, String, :default => "local" property :storage_url, String property :trace_use_job_queue, [true, false], :default => false @@ -377,12 +377,12 @@ action :create do content YAML.dump(storage_configuration) end - if new_resource.piwik_configuration + if new_resource.matomo_configuration file "#{rails_directory}/config/piwik.yml" do owner new_resource.user group new_resource.group mode "664" - content YAML.dump(new_resource.piwik_configuration) + content YAML.dump(new_resource.matomo_configuration) end else file "#{rails_directory}/config/piwik.yml" do