commit | 3cd4d096bb28af1c640fc98caf1186b4e14ef275 | [log] [tgz] |
---|---|---|
author | Geoffrey Corey <coreyg@apache.org> | Tue Jan 06 14:49:11 2015 -0800 |
committer | Geoffrey Corey <coreyg@apache.org> | Tue Jan 06 14:49:11 2015 -0800 |
tree | 552efb15c2144b57d8ea9f56e6439f0efc5936af | |
parent | c5d58f199a202d422b33779aa3da9514c2babdf0 [diff] |
Add a bit more to the docs
Test Kitchen + Puppet
gem install bundler bundle install
Make sure to have some puppet modules in the puppet/modules/
directory. The current hiera setup assumes you have the apache module, and ASF's customfact module.
Then edit puppet/data/node/default-ubuntu14.vagrantup.com.yaml
to start adding classes and setting class parameters.
When you're ready to test, just run:
kitchen converge default
This will bring up a vm, run puppet apply. From there, you can continue writing your puppet module (in puppet/modules/$module
) and testing by running the above command.
Most the the test-kitchen work with puppet, however make sure to see the kitchen-puppet documentation (even though the explanation isn't nearly as it needs to be).
Most information has been taken from here