vagrant-node 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/vagrant-node/actions/boxadd.rb +29 -20
- data/lib/vagrant-node/actions/snapshot.rb +1 -26
- data/lib/vagrant-node/api.rb +17 -25
- data/lib/vagrant-node/clientcontroller.rb +180 -153
- data/lib/vagrant-node/dbmanager.rb +106 -28
- data/lib/vagrant-node/exceptions.rb +1 -2
- data/lib/vagrant-node/nodeservercommand.rb +19 -32
- data/lib/vagrant-node/nodeserverpasswd.rb +2 -21
- data/lib/vagrant-node/nodeserverstart.rb +3 -1
- data/lib/vagrant-node/server.rb +4 -0
- data/lib/vagrant-node/util/downloader.rb +13 -5
- data/lib/vagrant-node/util/hwfunctions.rb +73 -0
- data/lib/vagrant-node/version.rb +1 -1
- metadata +179 -175
- data/.gitignore +0 -5
data/lib/vagrant-node/version.rb
CHANGED
metadata
CHANGED
@@ -1,208 +1,216 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-node
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 1
|
10
|
-
version: 1.1.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Francisco Javier Lopez de San Pedro
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2015-02-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: sinatra
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: json
|
36
23
|
prerelease: false
|
37
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: json
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
38
33
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
46
38
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: rack
|
50
39
|
prerelease: false
|
51
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
41
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rack
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
60
54
|
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: mysql2
|
64
55
|
prerelease: false
|
65
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
57
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: mysql2
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
74
70
|
type: :runtime
|
75
|
-
version_requirements: *id004
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: usagewatch
|
78
71
|
prerelease: false
|
79
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
73
|
none: false
|
81
|
-
requirements:
|
82
|
-
- -
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: usagewatch
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
88
86
|
type: :runtime
|
89
|
-
version_requirements: *id005
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: facter
|
92
87
|
prerelease: false
|
93
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
89
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: facter
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
102
|
type: :runtime
|
103
|
-
version_requirements: *id006
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: rubyzip
|
106
103
|
prerelease: false
|
107
|
-
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
105
|
none: false
|
109
|
-
requirements:
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rubyzip
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
110
115
|
- - <
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
hash: 23
|
113
|
-
segments:
|
114
|
-
- 1
|
115
|
-
- 0
|
116
|
-
- 0
|
116
|
+
- !ruby/object:Gem::Version
|
117
117
|
version: 1.0.0
|
118
118
|
type: :runtime
|
119
|
-
version_requirements: *id007
|
120
|
-
- !ruby/object:Gem::Dependency
|
121
|
-
name: ruby2ruby
|
122
119
|
prerelease: false
|
123
|
-
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
121
|
none: false
|
125
|
-
requirements:
|
122
|
+
requirements:
|
123
|
+
- - <
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 1.0.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: ruby2ruby
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
126
131
|
- - ~>
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
hash: 3
|
129
|
-
segments:
|
130
|
-
- 2
|
131
|
-
- 0
|
132
|
-
- 6
|
132
|
+
- !ruby/object:Gem::Version
|
133
133
|
version: 2.0.6
|
134
134
|
type: :runtime
|
135
|
-
version_requirements: *id008
|
136
|
-
- !ruby/object:Gem::Dependency
|
137
|
-
name: ruby_parser
|
138
135
|
prerelease: false
|
139
|
-
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
137
|
none: false
|
141
|
-
requirements:
|
138
|
+
requirements:
|
142
139
|
- - ~>
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.0.6
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: ruby_parser
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
149
|
version: 3.2.2
|
150
150
|
type: :runtime
|
151
|
-
version_requirements: *id009
|
152
|
-
- !ruby/object:Gem::Dependency
|
153
|
-
name: sys-cpu
|
154
151
|
prerelease: false
|
155
|
-
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
153
|
none: false
|
157
|
-
requirements:
|
158
|
-
- -
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 3.2.2
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: sys-cpu
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
164
166
|
type: :runtime
|
165
|
-
version_requirements: *id010
|
166
|
-
- !ruby/object:Gem::Dependency
|
167
|
-
name: bundler
|
168
167
|
prerelease: false
|
169
|
-
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
169
|
none: false
|
171
|
-
requirements:
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: bundler
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
172
179
|
- - ~>
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
|
175
|
-
segments:
|
176
|
-
- 1
|
177
|
-
- 3
|
178
|
-
version: "1.3"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '1.3'
|
179
182
|
type: :development
|
180
|
-
version_requirements: *id011
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rake
|
183
183
|
prerelease: false
|
184
|
-
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
185
|
none: false
|
186
|
-
requirements:
|
187
|
-
- -
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '1.3'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: rake
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
193
198
|
type: :development
|
194
|
-
|
195
|
-
|
196
|
-
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
description: This Vagrant plugin allows you to configure a vm environment as a node
|
207
|
+
in a client/server infraestructure. See also vagrant-nodemaster
|
208
|
+
email:
|
197
209
|
- fjsanpedro@gmail.com
|
198
210
|
executables: []
|
199
|
-
|
200
211
|
extensions: []
|
201
|
-
|
202
212
|
extra_rdoc_files: []
|
203
|
-
|
204
|
-
files:
|
205
|
-
- .gitignore
|
213
|
+
files:
|
206
214
|
- Gemfile
|
207
215
|
- LICENSE
|
208
216
|
- README.md
|
@@ -225,41 +233,37 @@ files:
|
|
225
233
|
- lib/vagrant-node/pwmanager.rb
|
226
234
|
- lib/vagrant-node/server.rb
|
227
235
|
- lib/vagrant-node/util/downloader.rb
|
236
|
+
- lib/vagrant-node/util/hwfunctions.rb
|
228
237
|
- lib/vagrant-node/version.rb
|
229
238
|
- vagrant-node.gemspec
|
230
239
|
homepage: http://www.catedrasaes.org
|
231
|
-
licenses:
|
240
|
+
licenses:
|
232
241
|
- GNU
|
233
242
|
post_install_message:
|
234
243
|
rdoc_options: []
|
235
|
-
|
236
|
-
require_paths:
|
244
|
+
require_paths:
|
237
245
|
- lib
|
238
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
239
247
|
none: false
|
240
|
-
requirements:
|
241
|
-
- -
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
|
244
|
-
|
245
|
-
- 0
|
246
|
-
version: "0"
|
247
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ! '>='
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
252
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
253
|
none: false
|
249
|
-
requirements:
|
250
|
-
- -
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
|
253
|
-
segments:
|
254
|
-
- 0
|
255
|
-
version: "0"
|
254
|
+
requirements:
|
255
|
+
- - ! '>='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
256
258
|
requirements: []
|
257
|
-
|
258
259
|
rubyforge_project: vagrant-node
|
259
|
-
rubygems_version: 1.8.
|
260
|
+
rubygems_version: 1.8.23
|
260
261
|
signing_key:
|
261
262
|
specification_version: 3
|
262
|
-
summary: This plugin allows you to set a computer with a virtual environment configured
|
263
|
+
summary: This plugin allows you to set a computer with a virtual environment configured
|
264
|
+
with Vagrant to be controlled and managed remotely. The remote machine must have
|
265
|
+
installed the controller plugin, Vagrant-NodeMaster. With this plugin installed
|
266
|
+
the Vagrant environment can perform requests, that you usually can execute locally,
|
267
|
+
but commanded by a remote computer. This plugin has been developed in the context
|
268
|
+
of the Catedra SAES of the University of Murcia(Spain).
|
263
269
|
test_files: []
|
264
|
-
|
265
|
-
has_rdoc:
|