X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20915a561989681a5468aad41f3234b2ae844c1b..cc6b107e2e4aa6d7b882d4fb626a1a80a41104c8:/cookbooks/stats/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/stats/recipes/default.rb b/cookbooks/stats/recipes/default.rb index a0b81bb40..aec51357c 100644 --- a/cookbooks/stats/recipes/default.rb +++ b/cookbooks/stats/recipes/default.rb @@ -63,10 +63,16 @@ template "/srv/stats.openstreetmap.org/index.html" do source "index.html.erb" owner "root" group "root" - mode 644 + mode 0644 variables :sites => node[:stats][:sites] end +cookbook_file "/srv/stats.openstreetmap.org/robots.txt" do + owner "root" + group "root" + mode 0644 +end + apache_site "stats.openstreetmap.org" do template "apache.erb" directory "/srv/stats.openstreetmap.org"