If you are on ubuntu the I understand that you could set the hostname
using cloud-init like explained here: 
https://help.ubuntu.com/community/CloudInit

On Aug 2, 5:15 pm, newguy <aimanparv...@gmail.com> wrote:
> I have 3 environments A,B,C.
> I am using runurl (http://agiletesting.blogspot.com/2009/09/
> bootstrapping-ec2-images-as-puppet.html) to install puppet
> automatically as a new EC2 instance is started and connecting it
> automatically to the server. But the server is not aware of this new
> instance trying to connect so for that I want that I can configure the
> hostname of this new instance so that when it connects to the puppet
> server, based on its hostname puppet server knows which modules should
> be installed on this client.
>
> Please help me guys.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to