X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20915a561989681a5468aad41f3234b2ae844c1b..8eb231729d6b7e7911668f512b270dadd6223bba:/cookbooks/stats/recipes/default.rb diff --git a/cookbooks/stats/recipes/default.rb b/cookbooks/stats/recipes/default.rb index a0b81bb40..b1420734d 100644 --- a/cookbooks/stats/recipes/default.rb +++ b/cookbooks/stats/recipes/default.rb @@ -67,6 +67,12 @@ template "/srv/stats.openstreetmap.org/index.html" do 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"