openminds / bunka

Parallel ssh commands over chef servers with rspec-like output. Bunka uses the exit codes of a command to determine whether it qualifies as a success or failure.
MIT License
10 stars 2 forks source link

Bunka Sample #16

Open mimor opened 8 years ago

mimor commented 8 years ago

Example

bunka sample COMMAND [QUERY]

What

This would look for a set number of sample objects hat match the query.

Why

Sometimes we need to know if there is at least one object for a given test. In the current bunka scheme, the test will run on all nodes in the chef-server, which is a bit of an overhead when only needing 1 or say 5 example objects instead of all matching objects.