X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dfa81864e13b40f052ac48cb1954e69f415e1dd9..bf14fbaf495ff6aa406ad95aa39ac81fd00549e5:/cookbooks/piwik/recipes/default.rb?ds=inline diff --git a/cookbooks/piwik/recipes/default.rb b/cookbooks/piwik/recipes/default.rb index 444788003..40a740a86 100644 --- a/cookbooks/piwik/recipes/default.rb +++ b/cookbooks/piwik/recipes/default.rb @@ -17,7 +17,7 @@ # limitations under the License. # -include_recipe "apache::ssl" +include_recipe "apache" include_recipe "mysql" passwords = data_bag_item("piwik", "passwords") @@ -91,6 +91,11 @@ mysql_database "piwik" do permissions "piwik@localhost" => :all end +ssl_certificate "piwik.openstreetmap.org" do + domains ["piwik.openstreetmap.org", "piwik.osm.org"] + notifies :reload, "service[apache2]" +end + apache_site "piwik.openstreetmap.org" do template "apache.erb" end