Thanks for this. I did a dig into the hook function but still struggling to have something that works.
Lets explain. I'd like to know which node was calling the hook and extract some facts about it to allow me to provide the right hostname. Facts are Mac/uuid/serial number. I Wonder how to have them when the hook is called. By the way I tried to do this kind of query on the api /api/collections/nodes?uuid=xxxxxxx to have the node name but got an empty result. Many thanks for your help. Nicolas -- You received this message because you are subscribed to the Google Groups "puppet-razor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/puppet-razor. For more options, visit https://groups.google.com/d/optout.
