1
0
mirror of https://github.com/krislamo/pup-tests synced 2024-09-19 17:20:35 +00:00
Pile of random Puppet tests and projects
Go to file
Kris Lamoureux 555304661b
Added SSH keys for restoration
On "./pup-tests.sh create" SSH keys will be created and placed on
the webserver and backup server to allow the backup server to
restore files back to the webserver easily.
2019-03-04 12:14:45 -05:00
code/environments/production Added SSH keys for restoration 2019-03-04 12:14:45 -05:00
setup Added network backup 2019-02-26 14:26:55 -05:00
.gitignore Added SSH keys for restoration 2019-03-04 12:14:45 -05:00
pup-tests.sh Added SSH keys for restoration 2019-03-04 12:14:45 -05:00
README.md Added a basic Amanda configuration 2019-02-19 12:49:33 -05:00
Vagrantfile Added SSH keys for restoration 2019-03-04 12:14:45 -05:00

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. 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.7
  • Puppet 4.8.2

After installing the above, simply navigate to the root directory and deploy the virtual machines:

sudo chmod +x pup-tests.sh

./pup-tests.sh create

The command above will create three virtual machines: a puppet master, a wordpress websever, and an amanda backup server.

Apply any code changes with the command below (omit the machine to run puppet on all clients):

./pup-tests.sh apply [machine]

And if for some reason you come across an invalid certificate while running puppet, you can reapply a new certificate:

./pup-tests.sh cert-update [machine]