X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/760d6ef7a14a6bcd89804c10aa9b20775f1af3fc..45dde9418dd342bb1a632d82559201c0b3becf1a:/cookbooks/chef/recipes/server.rb diff --git a/cookbooks/chef/recipes/server.rb b/cookbooks/chef/recipes/server.rb index 9581b1a56..eb2a33ae4 100644 --- a/cookbooks/chef/recipes/server.rb +++ b/cookbooks/chef/recipes/server.rb @@ -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