Permalink
Browse files

Merge pull request #36 from galthaus/pull-req-master-daa36fa51e

DE795: add some lookups in the dns and provisioner to get latest state. [2/7]
  • Loading branch information...
2 parents a6a3a70 + daa36fa commit 6c57ca8bd8d17a7e15e40da07f80200991299e39 @galthaus galthaus committed May 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 chef/cookbooks/provisioner/recipes/update_nodes.rb
@@ -19,7 +19,8 @@
nodes = search(:node, "crowbar_usedhcp:true")
if not nodes.nil? and not nodes.empty?
- nodes.each do |mnode|
+ nodes.each do |thenode|
+ mnode = Node.load(thenode.name)
next if mnode[:state].nil?
new_group = nil

0 comments on commit 6c57ca8

Please sign in to comment.