Fix the wait logic to actually work
Fix the wait logic to actually work

Reload Ohai in compile time so it actually reloads during the loop
Use until instead of a loop because exiting out of the loop results in converge_by never firing
Correct the logic that sees if the IP has been added or removed. It was based on count before which makes no sense. Just check to see if the IP is/isn't in the array of private IPs

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

scalp42/aws,chef-cookbooks/aws,paybyphone/aws,opscode-cookbooks/aws