vagrant-group 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/vagrant-group/command.rb +2 -2
- data/lib/vagrant-group/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c1f6abcfd5c7e098ea5f14e80e156b2fd962f75
|
4
|
+
data.tar.gz: 3f517f0379c46c37a76eeb9f574cc64eacf10f2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07fc04936abe946f94f9d716b4fa33998eae6facc04269395a497b25785367556850a16e2ec47755d3d940a2d7211163cf54fba4cbf58010bc1c0dcabf68eca8
|
7
|
+
data.tar.gz: 4928f9206bef104363bdcd9190a499cece92604fba14f88fd98b71fb48e83713d443a56389f406747b29cbb700eed7e76b150cc67f2fca65f5cc3a6afc759fdf
|
data/README.md
CHANGED
@@ -42,16 +42,16 @@ end
|
|
42
42
|
## How to use
|
43
43
|
|
44
44
|
```sh
|
45
|
-
$ vagrant group webservers
|
46
|
-
$ vagrant group databases
|
45
|
+
$ vagrant group up webservers
|
46
|
+
$ vagrant group halt databases
|
47
47
|
```
|
48
48
|
|
49
|
-
At the moment you use commands `up`, `halt`, `provision`, `reload` and `destroy`.
|
49
|
+
At the moment you use commands `up`, `halt`, `provision`, `reload`, `suspend`, `resume` and `destroy`.
|
50
50
|
Parameters are not supported except `--force` in `halt` and `destroy` commands.
|
51
51
|
|
52
52
|
In order to list hosts associated to group issue below command:
|
53
53
|
```
|
54
|
-
$ vagrant group webservers
|
54
|
+
$ vagrant group hosts webservers
|
55
55
|
```
|
56
56
|
|
57
57
|
## Contributing
|
@@ -13,7 +13,7 @@ module VagrantPlugins
|
|
13
13
|
:provision_ignore_sentinel => false, # otherwise reload command does provision
|
14
14
|
}
|
15
15
|
opts = OptionParser.new do |o|
|
16
|
-
o.banner = sprintf("Usage: vagrant group <group-name>
|
16
|
+
o.banner = sprintf("Usage: vagrant group <%s> <group-name>", COMMANDS.join("|"))
|
17
17
|
o.separator ''
|
18
18
|
|
19
19
|
o.on('-h', '--help', 'Print this help') do
|
@@ -32,7 +32,7 @@ module VagrantPlugins
|
|
32
32
|
|
33
33
|
argv = parse_options(opts)
|
34
34
|
|
35
|
-
|
35
|
+
action, group = argv[0], argv[1]
|
36
36
|
|
37
37
|
if !group || !action || !COMMANDS.include?(action)
|
38
38
|
safe_puts(opts.help)
|