File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,26 +35,26 @@ And execute against an environment and set of hosts like so:
35
35
$ fab preview class:frontend do:'uname -a'
36
36
...
37
37
38
- ## Targetting groups of machines
38
+ ## Targeting groups of machines
39
39
40
40
Fabric tasks can be run on groups of machines in a variety of different ways.
41
41
42
- by puppet class
42
+ By Puppet class:
43
43
44
44
# target all machines that have the 'govuk::safe_to_reboot::yes' class
45
45
$ fab preview puppet_class:govuk::safe_to_reboot::yes do:'uname -a'
46
46
47
- by numeric machine suffix
47
+ By numeric machine suffix:
48
48
49
49
# target all machines that end in '2'
50
50
$ fab preview numbered:2 do:'uname -a'
51
51
52
- by node type (as defined in puppet)
52
+ By node type (as defined in Puppet):
53
53
54
54
# target all 'frontend' machines
55
55
$ fab preview node_type:frontend do:'uname -a'
56
56
57
- by the node name
57
+ By the node name:
58
58
59
59
# target just one node
60
60
$ fab production -H backend-3.backend do:'uname -a'
You can’t perform that action at this time.
0 commit comments