On Sunday, October 7, 2012 at 10:12 AM, Julien Vehent wrote:
Hi all,I'm working on a cookbook that distributes keys to nodes. It keeps a historyof the distributions, by identifying a node based on the fqdn.This is not ideal, because if we recreate a node and reuse the fqdn, then mycookbook won't redistribute the key to it (until a timer expires afterseveral hours). So I'm looking for a better way to uniquely identify a node.I considered using UUIDs stored in node['filesystem'] but their locationsare not deterministic (some nodes use LVM, others just have directly attacheddisks, ...).Does Chef have a parameter that uniquely identifies a node ?Thanks,Julien
Archive powered by MHonArc 2.6.16.