How to change the computer name on a server configured by Puppet

Posted by David Sulpy on Server Fault See other posts from Server Fault or by David Sulpy
Published on 2012-10-23T05:05:22Z Indexed on 2012/10/23 5:08 UTC
Read the original article Hit count: 217

I am new to Puppet and I'm trying to get Puppet to configure my EC2 instances after they're started from a Cloud Formation Template in AWS. The problem is that all the nodes that get started from the Cloud Formation Template all have the same name (the name from the AMI that the new nodes derive from).

I would love to find a way to have puppet rename the nodes when the nodes start up. (although, as far as I know, a Computer Name change requires reboot, a separate issue...)

If you can point me to some documentation that can help me figure this out or if you have any ideas that would be great. My ultimate goal is to have each EC2 start with a unique name so that I can use New Relic server monitoring to report the different servers.

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about amazon-ec2