X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20915a561989681a5468aad41f3234b2ae844c1b..80b2e07ae5e36c04a8717565df7c9f4e101ec917:/cookbooks/stats/recipes/default.rb?ds=inline 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"