For fun, the project sets up the Puppet server and agent VMs using Ansible.
###Set your /etc/hosts file:
33.33.44.11 stage.puppet-server.com
33.33.44.22 stage.puppet-agent.com
infra/roles/common/files/ita.pub
to allow you to ssh directly to the VMs. Otherwise use vagrant ssh puppet-server
and vagrant ssh puppet-agent
After adding your public key, you can ssh to the VMs using:
ssh [email protected]
and ssh [email protected]
###Run
cd infra
vagrant up
##ServerSpec
To run the serverspec tests, do the following at root level:
bundle
rake spec