mirror of
https://github.com/krislamo/pup-tests
synced 2024-11-12 17:50:35 +00:00
Kris Lamoureux
03bacd745b
Development moved to VirtualBox due to work's custom vagrant box only supporting the VirtualBox provider. Development may eventually end up back on libvirt. Version numbers were updated, some broken code was removed and more instructions were added on the readme.
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# Puppet Tests
|
|
Puppet Tests (or pup-tests) is a small project where I am learning Puppet by
|
|
writing it. Some of this code was written while performing my duties as an
|
|
employee of the University of Georgia.
|
|
|
|
This project is in the public domain within the United States, and copyright
|
|
and related rights in the work worldwide are waived through the
|
|
[CC0 1.0 Universal Public Domain Dedication](
|
|
https://creativecommons.org/publicdomain/zero/1.0/). All contributions to this
|
|
project will be released under the CC0 dedication. By submitting a pull
|
|
request, you are agreeing to comply with this waiver of copyright interest.
|
|
|
|
## Getting Started
|
|
Puppet Tests is developed using the following technologies:
|
|
* Vagrant 2.2.3
|
|
* Ansible 2.7.6
|
|
* Puppet 4.8.2
|
|
|
|
After installing the above, simply navigate to the root directory and deploy
|
|
the virtual machines:
|
|
|
|
`vagrant up`
|
|
|
|
Vagrant will create at least two virtual machines and provision a puppet
|
|
client-server architecture using Ansible code from the /setup/ folder. You will
|
|
want to login to the puppet master:
|
|
|
|
`vagrant ssh master`
|
|
|
|
Sign the client's certificate and logout:
|
|
|
|
`sudo puppet cert sign webserver`
|
|
|
|
`exit`
|
|
|
|
Now login to the webserver and provision the machine:
|
|
|
|
`vagrant ssh webserv`
|
|
|
|
`sudo puppet agent -t`
|