vagrant-group 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/vagrant-group/command.rb +7 -1
- data/lib/vagrant-group/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f9ec1c9d716fea41f719abc64702de7fa147103
|
|
4
|
+
data.tar.gz: e188997b9ff398760823250ab94df5e061f76d12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07975b8c1b20472867fa14c37d3e2b62f5915721fbd25502eaa6644188836871abe3ef383b8604ebe98a51351d1ba0d2f360fe8e44115829dac0ddd52307f54f
|
|
7
|
+
data.tar.gz: f05cc757e9728f41c130aab6bb2ab772cd2576a1329c44d7c607e50df9cfa80c2d8a2041e8c2fa427ae6b0573a3e2fe4ddfe7dba7c8ef8afe47197ad96b07860
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](http://badge.fury.io/rb/vagrant-group)
|
|
4
4
|
|
|
5
5
|
With this plugin you can associate VMs to groups and then perform
|
|
6
|
-
basic operations like up/halt/provision/destroy on specific group.
|
|
6
|
+
basic operations like up/halt/provision/destroy/reload on specific group.
|
|
7
7
|
One host may belong to multiple groups.
|
|
8
8
|
|
|
9
9
|
## How to install
|
|
@@ -46,7 +46,7 @@ $ vagrant group webservers up
|
|
|
46
46
|
$ vagrant group databases halt
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
At the moment you use commands `up`, `halt`, `provision` and `destroy`.
|
|
49
|
+
At the moment you use commands `up`, `halt`, `provision`, `reload` 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:
|
|
@@ -9,7 +9,9 @@ module VagrantPlugins
|
|
|
9
9
|
end # self.synopsis
|
|
10
10
|
|
|
11
11
|
def execute
|
|
12
|
-
options = {
|
|
12
|
+
options = {
|
|
13
|
+
:provision_ignore_sentinel => false, # otherwise reload command does provision
|
|
14
|
+
}
|
|
13
15
|
opts = OptionParser.new do |o|
|
|
14
16
|
o.banner = sprintf("Usage: vagrant group <group-name> <%s>", COMMANDS.join("|"))
|
|
15
17
|
o.separator ''
|
|
@@ -22,6 +24,10 @@ module VagrantPlugins
|
|
|
22
24
|
options[:force_confirm_destroy] = true
|
|
23
25
|
options[:force_halt] = true
|
|
24
26
|
end
|
|
27
|
+
|
|
28
|
+
o.on(nil, '--provision', 'Enable provisioning (up, reload).') do
|
|
29
|
+
options[:provision_ignore_sentinel] = true
|
|
30
|
+
end
|
|
25
31
|
end
|
|
26
32
|
|
|
27
33
|
argv = parse_options(opts)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-group
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Magosa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|