From: Tom Hughes Date: Sat, 30 Jan 2016 11:33:08 +0000 (+0000) Subject: Add robots.txt for munin.openstreetmap.org X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/57d7a896268b11917fe7ab8bc5c6cc52a136b87d Add robots.txt for munin.openstreetmap.org --- diff --git a/cookbooks/munin/files/default/www/robots.txt b/cookbooks/munin/files/default/www/robots.txt new file mode 100644 index 000000000..45ba15977 --- /dev/null +++ b/cookbooks/munin/files/default/www/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /munin-cgi/ diff --git a/cookbooks/munin/recipes/server.rb b/cookbooks/munin/recipes/server.rb index bb5ba243a..90d70d7b1 100644 --- a/cookbooks/munin/recipes/server.rb +++ b/cookbooks/munin/recipes/server.rb @@ -79,7 +79,7 @@ remote_directory "/srv/munin.openstreetmap.org" do mode 0755 files_owner "root" files_group "root" - files_mode 0755 + files_mode 0644 purge true end