vagrant-invade 0.4.1 → 0.4.2
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/Gemfile.lock +1 -1
- data/lib/vagrant-invade/action/create.rb +4 -4
- data/lib/vagrant-invade/validator/provision/puppet_apply.rb +3 -3
- data/lib/vagrant-invade/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d169828a0e62002111104ec5ad8126dc5c7102a
|
|
4
|
+
data.tar.gz: 85403432de49683e37751f3049ddc16b1baec839
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 09ea99635473b45c1a7052085e302c5b9048ef1921af7e77c671baa46b709d9e4dafa553734567f155c880f89f2eb2c3d85eede2230e1fc5c0ea92efcd01ab3f
|
|
7
|
+
data.tar.gz: 6ce9806186775ca97756e7db011abb10cb5960d25f2570fdb9cd5d1002c9fe6293c3247fa2e914be05ebad809dd449db40f3e5666e8b14ef6767a0a092f07bca
|
data/Gemfile.lock
CHANGED
|
@@ -27,7 +27,7 @@ module VagrantPlugins
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
# Write new Vagrantfile if checksum is not equal
|
|
30
|
-
|
|
30
|
+
if !check_md5_checksum(@env[:ui], root_path, vagrantfile_name, generated_vagrantfile_data) || @env[:invade_build_force]
|
|
31
31
|
@env[:invade_build_force] ?
|
|
32
32
|
write_vagrantfile(@env[:ui], root_path, generated_vagrantfile_data, vagrantfile_name, true) :
|
|
33
33
|
write_vagrantfile(@env[:ui], root_path, generated_vagrantfile_data, vagrantfile_name, false)
|
|
@@ -61,7 +61,7 @@ module VagrantPlugins
|
|
|
61
61
|
return false
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
ui.success "[Invade] Vagrantfile is still valid. Use '
|
|
64
|
+
ui.success "[Invade] Vagrantfile is still valid. Use '-f|--force' to force replacing it." unless @env[:invade_build_force]
|
|
65
65
|
|
|
66
66
|
true
|
|
67
67
|
end
|
|
@@ -93,8 +93,8 @@ module VagrantPlugins
|
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
overwrite ?
|
|
96
|
-
ui.warn(
|
|
97
|
-
ui.warn("[Invade] Saved new Vagrantfile at '#{root_path}/#{vagrantfile_name}.new'")
|
|
96
|
+
ui.warn("[Invade] Replaced Vagrantfile at '#{root_path}/#{vagrantfile_name}'.") :
|
|
97
|
+
ui.warn("[Invade] Saved new Vagrantfile at '#{root_path}/#{vagrantfile_name}.new'.")
|
|
98
98
|
end
|
|
99
99
|
end
|
|
100
100
|
|
|
@@ -12,7 +12,7 @@ module VagrantPlugins
|
|
|
12
12
|
attr_accessor :puppet_apply
|
|
13
13
|
|
|
14
14
|
DEFAULT = {
|
|
15
|
-
'
|
|
15
|
+
'module_path' => '.puppet/modules',
|
|
16
16
|
'manifests_path' => './puppet/manifests',
|
|
17
17
|
'manifest_file' => 'init.pp',
|
|
18
18
|
'hiera_config_path' => nil,
|
|
@@ -29,8 +29,8 @@ module VagrantPlugins
|
|
|
29
29
|
return nil unless @puppet_apply
|
|
30
30
|
|
|
31
31
|
# MODULES PATH
|
|
32
|
-
@puppet_apply['
|
|
33
|
-
@puppet_apply['
|
|
32
|
+
@puppet_apply['module_path'] = Validator.validate_array(
|
|
33
|
+
@puppet_apply['module_path'], 'module_path', DEFAULT['module_path']
|
|
34
34
|
)
|
|
35
35
|
|
|
36
36
|
# MANIFESTS PATH
|
metadata
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-invade
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lennart Stein
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.10'
|
|
20
|
-
- -
|
|
20
|
+
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 1.10.5
|
|
23
23
|
type: :development
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
|
-
- - ~>
|
|
27
|
+
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '1.10'
|
|
30
|
-
- -
|
|
30
|
+
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 1.10.5
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: rake
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - ~>
|
|
37
|
+
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '0'
|
|
40
40
|
type: :development
|
|
41
41
|
prerelease: false
|
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - ~>
|
|
44
|
+
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: '0'
|
|
47
47
|
description: InVaDE is a plugin that uses a YAML configuration file to build a Vagrantfile
|
|
@@ -51,8 +51,8 @@ executables: []
|
|
|
51
51
|
extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
|
53
53
|
files:
|
|
54
|
-
- .gitattributes
|
|
55
|
-
- .gitignore
|
|
54
|
+
- ".gitattributes"
|
|
55
|
+
- ".gitignore"
|
|
56
56
|
- Gemfile
|
|
57
57
|
- Gemfile.lock
|
|
58
58
|
- LICENSE
|
|
@@ -160,12 +160,12 @@ require_paths:
|
|
|
160
160
|
- lib
|
|
161
161
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
162
|
requirements:
|
|
163
|
-
- -
|
|
163
|
+
- - ">="
|
|
164
164
|
- !ruby/object:Gem::Version
|
|
165
165
|
version: 2.0.0
|
|
166
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
requirements:
|
|
168
|
-
- -
|
|
168
|
+
- - ">="
|
|
169
169
|
- !ruby/object:Gem::Version
|
|
170
170
|
version: '0'
|
|
171
171
|
requirements: []
|