From 57d7a896268b11917fe7ab8bc5c6cc52a136b87d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 30 Jan 2016 11:33:08 +0000 Subject: [PATCH] Add robots.txt for munin.openstreetmap.org --- cookbooks/munin/files/default/www/robots.txt | 2 ++ cookbooks/munin/recipes/server.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 cookbooks/munin/files/default/www/robots.txt 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 -- 2.43.2