I recently installed foreman puppet in ubuntu 14.04 LTS which I am running in virtual box. I have configured its FQDN as 127.0.1.1 ubuntu.localhost.com ubuntu
.
I successfully installed the foreman puppet in it.
so we run puppet master here and for puppet agent, we run it once using the command puppet agent --test
,
so basically the puppet agent is on the same machine as the puppet master.
The puppet master is connected locally to foreman and
foreman is running locally at https://ubuntu.localhost.com.
I am running windows7 basically and I installed virtual box in it and then I am accessing ubuntu. So, now I want to add a new host to my puppet master and I want to also access it through foreman.
For that I created new virtual machine with ubuntu 14.04 LTS.
How can I add this new VM to my puppet master and make it act as a puppet agent? I have set this new VM's FQDN as 127.0.1.2 ubuntuLight.localhost.com ubuntuLight
.