X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20915a561989681a5468aad41f3234b2ae844c1b..6728ed67e4d7dfb29fe546edc21d629fc4ac348c:/cookbooks/stats/recipes/default.rb 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"