vagrant-invade 0.6.3 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4c1bea715489a8245c212a230950d76a5edf15b
4
- data.tar.gz: fe03ae6e9a1f448de2aa9f8d5c64161914f00151
3
+ metadata.gz: dd40809f47915424d22391ac52ef13899ce46285
4
+ data.tar.gz: ccdaa0b5ef73e7b5b374fd319b60fc9fe1a9abb8
5
5
  SHA512:
6
- metadata.gz: abd4f07f368386344eebb666843bab9cdb7cf109782bb5496d13c545f0ea40fd21a08a4adf36c83e7f0f9b2c5265b0fd3a2b70fb0b8b32026ce362c7a6b555ed
7
- data.tar.gz: 6a91d43bbc87cf42e56b3ecef57cba45baaedadab1103f64e429c36a8354eddc3f962fae9912a01839b501fb1df0b98d02282195cd74cb61ca5aa86088196f0d
6
+ metadata.gz: a6c1373e32591bdd714b8a96ac78c59c06049e93ac5294b21adb593d41f051edd8b21372b3d6601fe83ddf8988bbce1758ba62f6036007e40e80c87c66ebdd90
7
+ data.tar.gz: 21e75da17edaace7d6ac27377a40a21dd7c189ec3dfb6e62ec9b6e96373c8e0acac0d0cc9667ab6da4907b8b09f183c445bf27cb9b68430a75ac059ce7943623
data/.gitignore CHANGED
@@ -6,4 +6,4 @@ Vagrantfile-*
6
6
  Vagrantfile.new
7
7
  !vagrantfile.rb
8
8
  .vagrant
9
- .idea
9
+ .idea/
data/Gemfile CHANGED
@@ -1,14 +1,9 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
- gem "rsense"
5
- gem "vagrant", git: "https://github.com/mitchellh/vagrant.git", :ref => 'v1.8.5'
4
+ gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git', :ref => 'v1.8.5'
6
5
  end
7
6
 
8
7
  group :plugins do
9
- gem "vagrant-invade", path: "."
10
- gem "vagrant-hostmanager", git: "https://github.com/devopsgroup-io/vagrant-hostmanager"
11
- gem "vagrant-r10k", git: "https://github.com/jantman/vagrant-r10k"
12
- # Windows only
13
- # gem "vagrant-winnfsd", git: "https://github.com/winnfsd/vagrant-winnfsd"
14
- end
8
+ gemspec
9
+ end
data/Gemfile.lock CHANGED
@@ -1,16 +1,3 @@
1
- GIT
2
- remote: https://github.com/devopsgroup-io/vagrant-hostmanager
3
- revision: e97bc6fd169bed754755d8f3f68786610ef48281
4
- specs:
5
- vagrant-hostmanager (1.8.5)
6
-
7
- GIT
8
- remote: https://github.com/jantman/vagrant-r10k
9
- revision: aa33372532fc031d26da6b059bea3ff113a88947
10
- specs:
11
- vagrant-r10k (0.4.1)
12
- r10k (~> 1.5.0)
13
-
14
1
  GIT
15
2
  remote: https://github.com/mitchellh/vagrant.git
16
3
  revision: 93f9528687b9a737585d22bc4db5d2ab5d9852d3
@@ -37,7 +24,7 @@ GIT
37
24
  PATH
38
25
  remote: .
39
26
  specs:
40
- vagrant-invade (0.6.2)
27
+ vagrant-invade (0.6.3)
41
28
 
42
29
  GEM
43
30
  remote: https://rubygems.org/
@@ -45,28 +32,10 @@ GEM
45
32
  builder (3.2.2)
46
33
  childprocess (0.5.9)
47
34
  ffi (~> 1.0, >= 1.0.11)
48
- colored (1.2)
49
- cri (2.6.1)
50
- colored (~> 1.2)
51
35
  domain_name (0.5.20161021)
52
36
  unf (>= 0.0.5, < 1.0.0)
53
37
  erubis (2.7.0)
54
- faraday (0.9.2)
55
- multipart-post (>= 1.2, < 3)
56
- faraday_middleware (0.9.2)
57
- faraday (>= 0.7.4, < 0.10)
58
- faraday_middleware-multi_json (0.0.6)
59
- faraday_middleware
60
- multi_json
61
- fast_gettext (1.1.0)
62
38
  ffi (1.9.14)
63
- filetree (1.0.0)
64
- gettext (3.2.2)
65
- locale (>= 2.0.5)
66
- text (>= 1.3.0)
67
- gettext-setup (0.7)
68
- fast_gettext (~> 1.1.0)
69
- gettext (>= 3.0.2)
70
39
  gssapi (1.2.0)
71
40
  ffi (>= 1.0.1)
72
41
  gyoku (1.3.1)
@@ -76,15 +45,11 @@ GEM
76
45
  domain_name (~> 0.5)
77
46
  httpclient (2.8.2.4)
78
47
  i18n (0.7.0)
79
- jruby-jars (1.7.26)
80
- jruby-parser (0.5.4)
81
- json_pure (1.8.3)
82
48
  listen (3.1.5)
83
49
  rb-fsevent (~> 0.9, >= 0.9.4)
84
50
  rb-inotify (~> 0.9, >= 0.9.7)
85
51
  ruby_dep (~> 1.2)
86
52
  little-plugger (1.1.4)
87
- locale (2.1.2)
88
53
  log4r (1.1.10)
89
54
  logging (2.1.0)
90
55
  little-plugger (~> 1.1)
@@ -94,7 +59,6 @@ GEM
94
59
  mime-types-data (3.2016.0521)
95
60
  mini_portile2 (2.0.0)
96
61
  multi_json (1.12.1)
97
- multipart-post (2.0.0)
98
62
  net-scp (1.1.2)
99
63
  net-ssh (>= 2.6.5)
100
64
  net-sftp (2.1.2)
@@ -104,19 +68,7 @@ GEM
104
68
  nokogiri (1.6.7.1)
105
69
  mini_portile2 (~> 2.0.0.rc2)
106
70
  nori (2.6.0)
107
- r10k (1.5.1)
108
- colored (= 1.2)
109
- cri (~> 2.6.1)
110
- faraday (~> 0.9.0)
111
- faraday_middleware (~> 0.9.0)
112
- faraday_middleware-multi_json (~> 0.0.6)
113
- json_pure (~> 1.8)
114
- log4r (= 1.1.10)
115
- multi_json (~> 1.10)
116
- semantic_puppet (~> 0.1.0)
117
- rack (1.6.5)
118
- rack-protection (1.5.3)
119
- rack
71
+ rake (10.4.2)
120
72
  rb-fsevent (0.9.8)
121
73
  rb-inotify (0.9.7)
122
74
  ffi (>= 0.5.0)
@@ -126,44 +78,9 @@ GEM
126
78
  http-cookie (>= 1.0.2, < 2.0)
127
79
  mime-types (>= 1.16, < 4.0)
128
80
  netrc (~> 0.8)
129
- rsense (0.5.18)
130
- bundler (~> 1.6)
131
- filetree (~> 1.0.0)
132
- jruby-jars (~> 1.7.4)
133
- jruby-parser (~> 0.5.4)
134
- rsense-core (~> 0.6.6)
135
- rsense-server (~> 0.5.18)
136
- spoon (~> 0.0.4)
137
- thor (>= 0.18.1, < 0.20)
138
- rsense-core (0.6.6)
139
- filetree (~> 1.0.0)
140
- jruby-jars (~> 1.7.4)
141
- jruby-parser (~> 0.5.4)
142
- spoon (~> 0.0.4)
143
- thor (>= 0.18.1, < 0.20)
144
- rsense-server (0.5.18)
145
- bundler (~> 1.6)
146
- faraday
147
- filetree (~> 1.0.0)
148
- jruby-jars (~> 1.7.4)
149
- jruby-parser (~> 0.5.4)
150
- rsense-core (~> 0.6.6)
151
- sinatra
152
- spoon (~> 0.0.4)
153
81
  ruby_dep (1.5.0)
154
82
  rubyntlm (0.6.1)
155
83
  rubyzip (1.2.0)
156
- semantic_puppet (0.1.4)
157
- gettext-setup (>= 0.3)
158
- sinatra (1.4.7)
159
- rack (~> 1.5)
160
- rack-protection (~> 1.4)
161
- tilt (>= 1.3, < 3)
162
- spoon (0.0.6)
163
- ffi
164
- text (1.3.1)
165
- thor (0.19.1)
166
- tilt (2.0.5)
167
84
  unf (0.1.4)
168
85
  unf_ext
169
86
  unf_ext (0.0.7.2)
@@ -186,11 +103,10 @@ PLATFORMS
186
103
  ruby
187
104
 
188
105
  DEPENDENCIES
189
- rsense
106
+ bundler (~> 1.12, >= 1.12.5)
107
+ rake (~> 10.0)
190
108
  vagrant!
191
- vagrant-hostmanager!
192
109
  vagrant-invade!
193
- vagrant-r10k!
194
110
 
195
111
  BUNDLED WITH
196
112
  1.12.5
@@ -12,10 +12,10 @@ install_syncdir:
12
12
  default: false
13
13
  install_type:
14
14
  type: String
15
- default: 'stable'
15
+ default: :stable
16
16
  install_args:
17
17
  type: String
18
- default: 'develop'
18
+ default: nil
19
19
  always_install:
20
20
  type: Boolean
21
21
  default: false
@@ -87,4 +87,9 @@ log_level:
87
87
  # PILLAR DATA
88
88
  pillar:
89
89
  type: Hash
90
- default: nil
90
+ default: nil
91
+
92
+ # MISC
93
+ verbose:
94
+ type: Boolean
95
+ default: true
@@ -25,7 +25,7 @@ module VagrantPlugins
25
25
  # salt install options
26
26
  install_master = @salt_data['install_master']
27
27
  no_minion = @salt_data['no_minion']
28
- install_syncdir = @salt_data['install_syncdir']
28
+ install_syndic = @salt_data['install_syndic']
29
29
  install_type = @salt_data['install_type']
30
30
  install_args = @salt_data['install_args']
31
31
  always_install = @salt_data['always_install']
@@ -61,6 +61,9 @@ module VagrantPlugins
61
61
  # PILLAR DATA
62
62
  pillar = @salt_data['pillar']
63
63
 
64
+ # MISC
65
+ verbose = @salt_data['verbose']
66
+
64
67
  eruby = Erubis::Eruby.new(File.read(self.get_template_path(__FILE__)))
65
68
  @result = eruby.result b
66
69
  rescue TypeError, SyntaxError, SystemCallError => e
@@ -5,11 +5,11 @@
5
5
  <% if no_minion %>
6
6
  salt.no_minion = <%= no_minion %>
7
7
  <% end %>
8
- <% if install_syncdir %>
9
- salt.install_syncdir = <%= install_syncdir %>
8
+ <% if install_syndic %>
9
+ salt.install_syndic = <%= install_syndic %>
10
10
  <% end %>
11
11
  <% if install_type %>
12
- salt.install_type = '<%= install_type %>'
12
+ salt.install_type = :<%= install_type %>
13
13
  <% end %>
14
14
  <% if install_args %>
15
15
  salt.install_args = '<%= install_args %>'
@@ -74,7 +74,10 @@
74
74
  <% if log_level %>
75
75
  salt.log_level = '<%= log_level %>'
76
76
  <% end %>
77
+ <% if verbose %>
78
+ salt.verbose = <%= verbose %>
79
+ <% end %>
77
80
  <% if pillar %>
78
- salt.pillar = <%= pillar %>
81
+ salt.pillar(<%= pillar %>)
79
82
  <% end %>
80
83
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Invade
3
- VERSION = '0.6.3'
3
+ VERSION = '0.6.4'
4
4
  end
5
5
  end
@@ -1,20 +1,11 @@
1
- require 'bundler'
2
-
3
- begin
4
- require 'vagrant'
5
- rescue LoadError
6
- Bundler.require(:default, :development)
7
- end
8
-
9
1
  require 'vagrant-invade/plugin'
2
+ require 'vagrant-invade/version'
3
+ require 'vagrant-invade/extend'
4
+ require 'yaml'
10
5
 
11
6
  module VagrantPlugins
12
7
  module Invade
13
8
 
14
- require 'vagrant-invade/version'
15
- require 'vagrant-invade/extend'
16
- require 'yaml'
17
-
18
9
  autoload :Validator, 'vagrant-invade/validator'
19
10
  autoload :InvadeModule, 'vagrant-invade/module'
20
11
  autoload :Generator, 'vagrant-invade/generator'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-invade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lennart Stein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,7 +53,6 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - ".gitattributes"
55
55
  - ".gitignore"
56
- - ".idea/dictionaries/lenste.xml"
57
56
  - Gemfile
58
57
  - Gemfile.lock
59
58
  - LICENSE
@@ -1,14 +0,0 @@
1
- <component name="ProjectDictionaryState">
2
- <dictionary name="lenste">
3
- <words>
4
- <w>eruby</w>
5
- <w>facter</w>
6
- <w>masterless</w>
7
- <w>puppetfile</w>
8
- <w>syncdir</w>
9
- <w>virtualbox</w>
10
- <w>vmware</w>
11
- <w>winnfsd</w>
12
- </words>
13
- </dictionary>
14
- </component>