]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/bind/recipes/default.rb
Add tests for planet cookbook
[chef.git] / cookbooks / bind / recipes / default.rb
index 44d3643201003ca4c62e005518ed004662e7d346..aaba997815cf10e205e28d3e28e4590f1ccfe45f 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: bind
+# Cookbook:: bind
 # Recipe:: default
 #
-# Copyright 2011, OpenStreetMap Foundation
+# Copyright:: 2011, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 
 include_recipe "networking"
 
-clients = search(:node, "roles:#{node[:bind][:clients]}")
-
-ipv4_clients = clients.collect do |client|
-  client.ipaddresses(:family => :inet)
-end.flatten
-
-ipv6_clients = clients.collect do |client|
-  client.ipaddresses(:family => :inet6)
-end.flatten
+ipv4_clients = []
+ipv6_clients = []
 
 package "bind9"