commit | c7b24a1a2f0af3498fcb327512e41073ece12f75 | [log] [tgz] |
---|---|---|
author | Geoffrey Corey <coreyg@apache.org> | Wed Apr 08 11:54:04 2015 -0700 |
committer | Geoffrey Corey <coreyg@apache.org> | Wed Apr 08 11:54:04 2015 -0700 |
tree | 95c9a878b1f78ec0f67d4b7b91e28045f01a1bec | |
parent | 7eef685b723130b96f19adf542b781b30ba22c34 [diff] |
update readme
Test Kitchen + Puppet
Vagrant Ruby + Ruby gems Virtualbox ASF's Puppet repo
Clone ASF's Puppet Repo +++++++++++++++++++++++
git clone https://github.com/apache/infrastructure-puppet
gem install bundler bundle install mkdir -p puppet/modules cd puppet modules
Make sure to have some puppet modules in the puppet/modules/
directory. The current hiera setup assumes you have the following modules:
If using GitHub to obtain modules, make sure when you clone the module, it only has the module name on the resulting folder. Example:
git clone https://github.com/puppetlabs/puppetlabs-apt.git apt
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