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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dced499578181759b0061562645807318c9f1ff4
4
- data.tar.gz: f408fa4f5fbe272ad03a9e975f8ec886d4bd3aae
3
+ metadata.gz: 3f9ec1c9d716fea41f719abc64702de7fa147103
4
+ data.tar.gz: e188997b9ff398760823250ab94df5e061f76d12
5
5
  SHA512:
6
- metadata.gz: b17978ab662467390b9fea4f6bc1677d787384ea52c87a5181ddf6a38599b9467de5b34a94c9a2da15efd4ce759b33b36e2d8ada767903c7b9ce87bd8d055239
7
- data.tar.gz: 70767d5b9e2a0a3cd0c914b22d74d6e81c22473e5624da003d632995f27d1495a7791127687260329145c6ac2880d25065e4f3d7803b842f3cf880fd4f67da5a
6
+ metadata.gz: 07975b8c1b20472867fa14c37d3e2b62f5915721fbd25502eaa6644188836871abe3ef383b8604ebe98a51351d1ba0d2f360fe8e44115829dac0ddd52307f54f
7
+ data.tar.gz: f05cc757e9728f41c130aab6bb2ab772cd2576a1329c44d7c607e50df9cfa80c2d8a2041e8c2fa427ae6b0573a3e2fe4ddfe7dba7c8ef8afe47197ad96b07860
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/vagrant-group.svg)](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)
@@ -1,7 +1,7 @@
1
1
  module VagrantPlugins
2
2
  module Group
3
3
 
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
 
6
6
  end # Group
7
7
  end # VagrantPlugins
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.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-13 00:00:00.000000000 Z
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler