I think this could be accomplished with exported resources, on every node export a file with his IP, and collect the other ones. Then with a custom script you could verify if the entry is on the hosts file.
About the offtopic dhcp vs hosts file, most clusters like to have the ips defined on the hosts file, f.e. in Hacmp cluster it is mandatory. Also, imho, it is not a good idea to have dhcp for cluster nodes. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e83ff07a-0cbf-440d-a8bd-646b4d23f0ca%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.