]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/wiki.rb
Lock mail gem to version 2.7.1
[chef.git] / cookbooks / foundation / recipes / wiki.rb
index 6d5a9746fc745ccf5c7be1c96f26954800e3576b..9764a0934221370f83ce6aa803a0bdc979492015 100644 (file)
@@ -63,3 +63,10 @@ cookbook_file "/srv/wiki.osmfoundation.org/Wiki.png" do
   group node[:mediawiki][:group]
   mode "644"
 end
+
+template "/srv/wiki.osmfoundation.org/robots.txt" do
+  owner node[:mediawiki][:user]
+  group node[:mediawiki][:group]
+  mode "644"
+  source "robots.txt.erb"
+end