vagrant-compose 0.7.3 → 0.7.4
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/CHANGELOG.md +33 -28
- data/lib/vagrant/compose/config.rb +57 -47
- data/lib/vagrant/compose/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: 09e9236ae1250c53a87954029f56c278fd751a72
|
4
|
+
data.tar.gz: c6537a3462a8c91043bb0104f084683dfd296abb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad4ed218e7830d8fc803fe2ba1e839487e5487ae3b1017b24c87b0213a03f10d8bc45138dcbf309758c20915c21b295574b9c8bba3b2f27957bc996c45b0434a
|
7
|
+
data.tar.gz: e8f78b5c7d83fdf6ddc733361442a60a0bb71b46bbb129622380bf84850bfb677cd6273f29d97df3f71c7ad7f470292ed3ca962c29c3b1e879a1d4572d167750
|
data/CHANGELOG.md
CHANGED
@@ -1,28 +1,26 @@
|
|
1
|
-
# 0.
|
1
|
+
# 0.7.4 (May 20, 2017)
|
2
2
|
|
3
|
-
*
|
3
|
+
* fix multimachine_filter error with commands without vmname
|
4
4
|
|
5
|
+
# 0.7.3 (May 20, 2017)
|
5
6
|
|
6
|
-
#
|
7
|
+
* PR Fix issue calling provision without filter #13 (now mutlimachine filter works properly even if mixed with other POSIX options)
|
8
|
+
* breaking change: removed cluster.multimachine_filter property (use instead config.multimachine_filter)
|
7
9
|
|
8
|
-
|
9
|
-
* nodes instances number defined into node method (instances attributes removed)
|
10
|
-
* cluster.nodes return only nodes (before nodes with index were returned)
|
10
|
+
# 0.7.2 (November 16, 2016)
|
11
11
|
|
12
|
-
|
13
|
-
*
|
14
|
-
* cluster domain now is optional
|
15
|
-
* nodes code block now is optional
|
16
|
-
* improved detection of multimachine_filter
|
17
|
-
* minor fixes
|
12
|
+
* issues #11 Allow management of Ansible vars for all hosts
|
13
|
+
* issues #9 Create group_vars and host_vars directory only if necessary
|
18
14
|
|
19
|
-
|
15
|
+
* breaking change: custom group of groups all_groups:children removed. Insteal use all (automatically created by ansible)
|
20
16
|
|
21
|
-
|
17
|
+
# 0.7.1 (November 04, 2016)
|
22
18
|
|
23
|
-
|
24
|
-
|
25
|
-
|
19
|
+
* Minor fix
|
20
|
+
|
21
|
+
# 0.7.0 (November 02, 2016)
|
22
|
+
|
23
|
+
* introduced support for declarative cluster definition
|
26
24
|
|
27
25
|
# 0.2.4 (June 26, 2016)
|
28
26
|
|
@@ -32,22 +30,29 @@ other changes:
|
|
32
30
|
NB. breaking change
|
33
31
|
ansible_group_vars_path and ansible_host_vars_path are not supported anymore
|
34
32
|
|
35
|
-
# 0.
|
33
|
+
# 0.2.3 (April 2, 2016)
|
36
34
|
|
37
|
-
*
|
35
|
+
* Now custer name can be omitted (thanks to jaydoane)
|
38
36
|
|
39
|
-
|
37
|
+
other changes:
|
38
|
+
* Documented cluster.debug feature
|
39
|
+
* Improved code inline documentation
|
40
40
|
|
41
|
-
|
41
|
+
# 0.2.2 (December 31, 2015)
|
42
42
|
|
43
|
-
|
43
|
+
breaking changes!
|
44
|
+
* nodes instances number defined into node method (instances attributes removed)
|
45
|
+
* cluster.nodes return only nodes (before nodes with index were returned)
|
44
46
|
|
45
|
-
|
46
|
-
*
|
47
|
+
other changes:
|
48
|
+
* Improved documentation.
|
49
|
+
* cluster domain now is optional
|
50
|
+
* nodes code block now is optional
|
51
|
+
* improved detection of multimachine_filter
|
52
|
+
* minor fixes
|
47
53
|
|
48
|
-
|
54
|
+
# 0.1.0 (December 27, 2015)
|
55
|
+
|
56
|
+
* Initial release.
|
49
57
|
|
50
|
-
# 0.7.3 (May 20, 2017)
|
51
58
|
|
52
|
-
* PR Fix issue calling provision without filter #13 (now mutlimachine filter works properly even if mixed with other POSIX options)
|
53
|
-
* breaking change: removed cluster.multimachine_filter property (use instead config.multimachine_filter)
|
@@ -128,53 +128,63 @@ module VagrantPlugins
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def getMultimachine_filter
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
131
|
+
if ARGV.length <= 1
|
132
|
+
return []
|
133
|
+
# commands with vmname filter
|
134
|
+
elsif ["destroy", "halt", "port", "provision",
|
135
|
+
"reload", "resume", "ssh", "ssh_config",
|
136
|
+
"status", "suspend", "up"].include?(ARGV[0].downcase)
|
137
|
+
|
138
|
+
args = OptionParser.new do |o|
|
139
|
+
# Options for all commands with vmname
|
140
|
+
# vagrant/plugins/commands/destroy/command.rb
|
141
|
+
# "-f", "--force"
|
142
|
+
# vagrant/plugins/commands/halt/command.rb
|
143
|
+
# "-f", "--force"
|
144
|
+
# vagrant/plugins/commands/port/command.rb
|
145
|
+
# "--guest PORT",
|
146
|
+
# "--machine-readable"
|
147
|
+
# vagrant/plugins/commands/provision/command.rb
|
148
|
+
# "--provision-with x,y,z"
|
149
|
+
# vagrant/plugins/commands/reload/command.rb
|
150
|
+
# "--[no-]provision"
|
151
|
+
# "--provision-with x,y,z"
|
152
|
+
# vagrant/plugins/commands/resume/command.rb
|
153
|
+
# "--[no-]provision"
|
154
|
+
# "--provision-with x,y,z"
|
155
|
+
# vagrant/plugins/commands/ssh/command.rb
|
156
|
+
# "-c", "--command COMMAND"
|
157
|
+
# "-p", "--plain"
|
158
|
+
# vagrant/plugins/commands/ssh_config/command.rb
|
159
|
+
# "--host NAME"
|
160
|
+
# vagrant/plugins/commands/status/command.rb
|
161
|
+
# vagrant/plugins/commands/suspend/command.rb
|
162
|
+
# vagrant/plugins/commands/up/command.rb
|
163
|
+
# "--[no-]destroy-on-error"
|
164
|
+
# "--[no-]parallel"
|
165
|
+
# "--provider PROVIDER"
|
166
|
+
# "--[no-]install-provider"
|
167
|
+
# "--[no-]provision"
|
168
|
+
# "--provision-with x,y,z"
|
169
|
+
|
170
|
+
o.on("-f", "--force", "Destroy without confirmation.")
|
171
|
+
o.on("--guest PORT", "Output the host port that maps to the given guest port")
|
172
|
+
o.on("--machine-readable", "Display machine-readable output")
|
173
|
+
o.on("--provision-with x,y,z", Array, "Enable only certain provisioners, by type or by name.")
|
174
|
+
o.on("--[no-]provision", "Enable or disable provisioning")
|
175
|
+
o.on("-c", "--command COMMAND", "Execute an SSH command directly")
|
176
|
+
o.on("-p", "--plain", "Plain mode, leaves authentication up to user")
|
177
|
+
o.on("--host NAME", "Name the host for the config")
|
178
|
+
o.on("--[no-]destroy-on-error", "Destroy machine if any fatal error happens (default to true)")
|
179
|
+
o.on("--[no-]parallel", "Enable or disable parallelism if provider supports it")
|
180
|
+
o.on("--provider PROVIDER", String, "Back the machine with a specific provider")
|
181
|
+
o.on("--[no-]install-provider", "If possible, install the provider if it isn't installed")
|
182
|
+
end.permute! #Parses command line arguments argv in permutation mode and returns list of non-option arguments.
|
183
|
+
|
184
|
+
return args.length > 1 ? args.drop(1) : []
|
185
|
+
else
|
186
|
+
return []
|
187
|
+
end
|
178
188
|
end
|
179
189
|
end
|
180
190
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-compose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabrizio Pandini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|