Ticket 152 ‐ Create Puppet Configuration for DB Server - SupaHotBall/OE2-Group-D GitHub Wiki

Task

Create a Puppet configuration to automate the setup and management of the client’s Database server


Steps Taken

Install the puppet agent package

  • Code sudo apt install puppet-agent -y

Configure the Puppet agent

  • Code sudo nano /etc/puppetlabs/puppet/puppet.conf
  • server = mgmt-d
  • certname = db-d.oe2.org.nz

image

Start the puppet agent

  • Code sudo systemctl start puppet

Verify the puppet agent is running

  • Code sudo systemctl status puppet

image

Ping from db to mgmt server

image

Connect your agent to the puppet server manually with the following command:

  • Code sudo puppet agent --server=mgmt-x --no-daemonize --verbose --onetime

image


Challenges

N/A


External Resources

N/A


Ticket Reference

https://rt.dataraster.com/Ticket/Display.html?id=152