Skip to content

Latest commit

 

History

History
108 lines (53 loc) · 2.63 KB

README.md

File metadata and controls

108 lines (53 loc) · 2.63 KB

Prepare 3 AWS/Google cloud instances for this workshop

  1. Label one instance as master the rest of the node instance as slave/node

  2. Change all the hostname accordingly master - nusiss.puppetmaster.edu.sg slave 1 - nusiss.puppetslave1.edu.sg
    slave 2 - nusiss.puppetslave2.edu.sg

  1. Exit and logout the system after changing hostname of all the 3 instances

  2. Lets fixed all the master and slave servers with their ip and hostname on the host file

Master

Slave 1

Slave 2

  1. Make sure all the instances about to ping each other

  1. Make sure all the packages within the Ubuntu is up to date

  1. On the puppet master host install the master software

  1. On both the slave install the puppet agent software, puppetslave1 and puppetslave2

  1. Check whether the puppet master service is up nusiss.puppetmaster.edu.sg

  1. On the slave instance, check both the service of the agent is up

  1. Configure both agent to be aware of the master node

Restart both the puppet agents

  1. Send certificate from agent to the master

Agent

Over the master side sign the request certificate


Agent

13 Preapre and validate manifest for the installation of software that do not happens to be available on the agent instances



Validate the pp configuration file

  1. To force the update on the agent side

  1. By right all agents are configured with update interval of 5 secs.