knife-cereal
This knife plugin allows you to run a command on a set of nodes serially. It will stop after the first failure.
Installation
Add this line to your application's Gemfile:
gem 'knife-cereal'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install knife-cereal
Example Usage
knife cereal 'chef_environment:my_environment AND recipe:my_cookbook' 'sudo chef-client' -G deploy@gateway_host -x chef
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request