Kuroko
A cucumber plugin to facilitate integration testing of Puppet manifests using Vagrant.
Installation
Add this line to your application's Gemfile:
gem 'kuroko'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kuroko
Usage
Require the library in your features/support/env.rb
require 'kuroko'
Configure the library to point to a vagrant environment (ie. a directory containing a Vagrantfile) to test your puppet repositories against
Kuroko.configure do |config|
config.vagrant_root = File.(File.join(__FILE__, 'vagrant_root'))
end
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request