How to make sure if Puppet agent does pull from master after configuration change?
Login to Puppet Agent node
Remove apache first..
1. sudo apt-get remove apache2 -yRemove apache first..
2. Make sure apache is not running by going to browser running public dns name. Once verified,
3. edit the below file
sudo vi /etc/puppetlabs/puppet/puppet. conf
4. Now stop the agent
sudo systemctl stop puppet
5. start puppet agent again
sudo systemctl start puppet
Now after 2 mins Apache will be installed on the Agent and you will be able to see the Apache web page in the browser
No comments:
Post a Comment