lib/chef-workflow/support/ip.rb
#
# Gets the next un-used IP. This basically calls `next_ip` with knowledge of
# the database.
#
Gets the next un-used IP. This basically calls `next_ip` with knowledge of
the database.
Gets the next un - used IP . This basically calls ` next_ip ` with knowledge of the database .
def unused_ip
    ip = next_ip(@subnet)
    while ip_used?(ip)
      ip = next_ip(ip)
    end
    return ip
  end
def unused_ip ip = next_ip ( @subnet ) while ip_used? ( ip ) ip = next_ip ( ip ) end return ip end
Gets the next un-used IP.
Gets the next un - used IP .