I am trying to use puppet razor to deploy about 1000 servers, and i realize that puppet razor gives node names like node1,node2,node3 after a node is registered.
Is there any way to set user-specific node names to these servers, either before registration or after registration?
The reason being : After provisioning all these 1000 servers - and if one of those servers needed to be re-provisioned later in future - it would be easier to install using its hostname (OS hostname).
Right now - when i run - 'razor nodes'. All i see is a list of node names such as node1,node2,node3 and mac-addresses. If i have to re-install one of those 1000 servers - It would be a round about way to find out the mac-address of that machine and find the nodename of that mac-address to re-install that node.
Also, if i delete few nodes - those node-names will not be reused in future, which leads to node names like node1,node3,node8...
I am able to edit the node metadata - hostname successfully, but i would like to be able to modify the node name to be the same as the node OS hostname.
Is there any easy way to do this? ( other than writing my own wrapper to link the mac-addresses with hostnames and node names in CMDB)
Why is it that - there is no functionality provided to modify the node name? since it would resolve most of the above issues.
This is a major deal breaker for us, and i would love to know - if someone found a solution.
I am trying to use puppet razor to deploy about 1000 servers, and i realize that puppet razor gives node names like node1,node2,node3 after a node is registered.
Is there any way to set user-specific node names to these servers, either before registration or after registration?