Browse files

Add documentation for --concurrency switch

  • Loading branch information...
1 parent 489eee5 commit 9486a0809554886605e0d890cfd52c73ca7b6bdf @philk philk committed Jan 28, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0
@@ -223,6 +223,14 @@ deleted from the node, and verbose will also be true
Once a node has a config file, the command you will be using most often is `fix node:MYNODE`, which allows you to repeatedly tweak the recipes and attributes for a node and rerun the configuration.
+### Configuring nodes in parallel
+By default LittleChef configures nodes serially however it can also use Fabric's parallel SSH support to configure multiple nodes in parallel. All commands are supported (node, nodes_with_role, ssh, role, and recipe)
+* `fix --concurrency node:NODELIST`: will configure multiple nodes in parallel
+* `fix --concurrency node:NODELIST ssh:COMMAND`: will run an ssh command on multiple nodes in parallel
+* `fix --concurrency 5 node:NODELIST`: will configure multiple nodes in parallel but limit to 5 connections
### Consulting the inventory
* `fix list_nodes`: Lists all configured nodes, showing its associated recipes and roles

0 comments on commit 9486a08

Please sign in to comment.