A Vagrant environment to deploy a puppet5 server/agent lab environment.
- Server Node runs on Ubuntu16.04.
- Agent Node runs on Ubuntu16.04.
Note: The puppet server (servernode) is very memory greedy and it will only work properly with 4GB of memory or above.
Provision the VM and ssh it:
vagrant up
vagrant ssh "node_name"
You can configure the Vagrant project nodes and params by editing the nodes.json and the params.json doles
vagrant destroy #delete the VM, and you will lose any and all work on the instance
vagrant up #create a VM
vagrant suspend #suspend the vm
vagrant resume #resume a suspended vm
# test agent/server connection, run the bollow command from the agent node
sudo puppet agent --test --noop # Dry run
sudo puppet agent --test # Normal run/Will pull changes