]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/server.rb
Update formatting of header comments
[chef.git] / cookbooks / chef / recipes / server.rb
index 9581b1a56e625f97b1f5f582960fea024093f4b3..eb2a33ae4a31ecb18178e791687aa57bff04f6b1 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: chef
+# Cookbook:: chef
 # Recipe:: server
 #
-# Copyright 2010, OpenStreetMap Foundation
+# Copyright:: 2010, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -84,10 +84,6 @@ service "chef-server" do
   subscribes :restart, "systemd_service[chef-server]"
 end
 
-git_allowed = search(:node, node[:git][:allowed_nodes]).collect do |n|
-  n.ipaddresses(:role => :external)
-end.flatten
-
 apache_module "alias"
 apache_module "proxy_http"
 
@@ -99,7 +95,6 @@ end
 
 apache_site "chef.openstreetmap.org" do
   template "apache.erb"
-  variables :git_allowed => git_allowed
 end
 
 template "/etc/cron.daily/chef-server-backup" do