Skip to content

Commit b260c1b

Browse files
committed
Tidy section of README on targeting machines
1 parent 6b4ea2b commit b260c1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,26 @@ And execute against an environment and set of hosts like so:
3535
$ fab preview class:frontend do:'uname -a'
3636
...
3737

38-
## Targetting groups of machines
38+
## Targeting groups of machines
3939

4040
Fabric tasks can be run on groups of machines in a variety of different ways.
4141

42-
by puppet class
42+
By Puppet class:
4343

4444
# target all machines that have the 'govuk::safe_to_reboot::yes' class
4545
$ fab preview puppet_class:govuk::safe_to_reboot::yes do:'uname -a'
4646

47-
by numeric machine suffix
47+
By numeric machine suffix:
4848

4949
# target all machines that end in '2'
5050
$ fab preview numbered:2 do:'uname -a'
5151

52-
by node type (as defined in puppet)
52+
By node type (as defined in Puppet):
5353

5454
# target all 'frontend' machines
5555
$ fab preview node_type:frontend do:'uname -a'
5656

57-
by the node name
57+
By the node name:
5858

5959
# target just one node
6060
$ fab production -H backend-3.backend do:'uname -a'

0 commit comments

Comments
 (0)