X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20915a561989681a5468aad41f3234b2ae844c1b..0bf2737a18d94a6083fb6871281dc84ee6a1c24e:/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"