vagrant-skytap 0.1.7 → 0.1.8

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: 47c85dd2458a8d1d42b2286b41114b294508ec3e
4
- data.tar.gz: 1303ac73f297dfe5806c6e334f4d77b09e3129f5
3
+ metadata.gz: 3b61ae87962ec7b6d32f9e91f4e079b752be611a
4
+ data.tar.gz: d708d90776b11130d734c2ebcb74214025551b14
5
5
  SHA512:
6
- metadata.gz: d8204bab0a119675849462559d68652343ec493fa65122d3e71000a48c8be119990add1f6944ffb23ca5bdf23e6234eceb328372d8f154216845cb60e96f5282
7
- data.tar.gz: cbb06929b9b391836d74038d74356be45b0dad9ae0ebc10ad8690be532aa05ea8dab268b21bebca1376d76f45b27c5fe1d58ab75a73d7d2724daddd5c60e2282
6
+ metadata.gz: 98dbdd4ef66337d74f705f42e1c5e899f2cd6eed1abf66b21b2be50795f702fb4bbf337a22cd43ee80b1bc3a7a6052f07a097a180980618af1add604278684fe
7
+ data.tar.gz: 6db84848f59c46d664f22203953794ec53557b99d6dd8707f64c285de825dae1039e6bf6d9b525cd84aef1a575916c7145a6000a56321c4a7602a407828412ba
data/.byebug_history CHANGED
@@ -1,218 +1,256 @@
1
- exit
2
- Vagrant::source_rootc
3
- Vagrant::source_root
4
- q
5
1
  c
6
- up
7
- config.env
8
- up
9
- env
2
+ VagrantPlugins::Skytap::Plugin.components.commands
3
+ VagrantPlugins::CommandUp::Plugin.components.commands
4
+ VagrantPlugins::CommandUp::Plugin.components
5
+ VagrantPlugins::Skytap::Plugin.components
6
+ @registered.last.components
7
+ @registered.last
8
+ plugin
9
+ l
10
+ puts @registered
11
+ @registered
12
+ finish
13
+ s
14
+ @sub_command
10
15
  c
11
- @env
12
- up
13
- down
14
- args
15
- up
16
- options
17
- up
18
- args
19
- down
16
+ Vagrant.plugin("2").manager.commands[@sub_command.to_sym]
17
+ @sub_command
18
+ command_plugin
19
+ Vagrant.plugin("2").manager.commands
20
+ @sub_args
21
+ @main_args
22
+ @sub_command
23
+ command_plugin
20
24
  up
21
- args.count
22
- args
23
- up
24
- options
25
- c
26
- fff5~5~5~5~
27
- $1
28
- up_result.stderr =~ /multiselect.*\[(.*)\]/
29
- $1
30
- $0
31
- up_result.stderr =~ /multiselect(.*)\}/
32
- up_result.stderr =~ /multiselect(.*\)}/
33
- up_result.stderr
34
- up_result.stderr =~ /multiselect/
35
- up_result.stderr =~ "multiselect"
36
- puts up_result.stdout
37
- up_result.stdout
25
+ @env
26
+ env
27
+ provider
28
+ q
29
+ Q
30
+ puts $LOAD_PATH
31
+ require 'ap'
32
+ $LOAD_PATH
38
33
  c
39
- up
40
- options
41
- args
42
34
  finish
43
35
  s
44
- n
45
- args
46
- s
47
- n
48
36
  c
49
- up
50
- down
51
- up
52
- @options[:env]
53
- @options[:env]["VAGRANT_LOG"] = "info"
54
- @options[:env]
55
- @options
56
- process.environment
57
- n
58
- notify
59
- n
60
- finish
61
- down
62
- up
63
- @command << "VAGRANT_LOG=info"
64
- @command
65
- n
66
- args
37
+ @env.default_provider
38
+ @env.provider.active_machines
39
+ @env.active_machines
40
+ @env.provider
41
+ @env[:provider]
42
+ @env
43
+ c
44
+ c 23
45
+ c 18
46
+ l
47
+ @env
48
+ VagrantPlugins::CommandUp::Command
49
+ require 'vagrant/../../plugins/commands/up/command'
50
+ require 'vagrant/../../plugins'
51
+ VagrantPlugins::CommandUp::Command
67
52
  s
68
- n
69
- Which
70
- options
71
- args
53
+ l
54
+ @argv
55
+ require "../plugins"
56
+ require 'fofofof'
57
+ return Command::Up
58
+ ap data
59
+ guest
72
60
  command
61
+ name
62
+ ap components.name
63
+ ap components.configs
64
+ ap components
65
+ require 'ap'
66
+ components
67
+ env
68
+ provider
69
+ name
70
+ self.provider.inspect
71
+ self.provider
72
+ self
73
+ c
73
74
  finish
75
+ @items
76
+ key
77
+ finish
78
+ @components
74
79
  s
80
+ c
81
+ display opts
82
+ c
83
+ display name
75
84
  name
76
- s
77
- n
78
- log
79
- s
85
+ c
80
86
  n
87
+ opts
81
88
  s
82
- puts execute("vagrant", "help", "VAGRANT_LOG=info").stdout
83
- puts _
84
- execute("vagrant", "help", "VAGRANT_LOG=info")
85
89
  c
86
- puts up_result.stdout
87
- up_result.stdout
88
- c
89
- b 24
90
- up
91
- finish
92
- n
90
+ b 73
91
+ vm_addr
92
+ vm_hostname
93
+ guestport
93
94
  q
94
- [1,2,3,4].partition{|n| n < 3}
95
- machines.reject{|m| m.state.id == :running}
96
- machines.first.state.id
97
- machines.first.state
98
- machines.first.status
99
- machines.first
100
- c
101
- @env.environment
102
- @env.env
103
- @env[:foo]
104
- @env
105
- env
95
+ c
106
96
  q
107
- @env.config
108
- @env.vagrantfile.config
109
- @env.vagrantfile.machine_config(:vm1, :skytap, [])
110
- @env.vagrantfile.machine_config(:vm1)
111
- @env.vagrantfile.machine_config(:vm1, :skytap, [])
112
- @env.vagrantfile.machine_config(:vm1, :skytap, 'skytap/empty')
113
- @env.vagrantfile.machine_config(:vm1, 'skytap', 'skytap/empty')
114
- @env.vagrantfile.machine_config('vm1', 'skytap', 'skytap/empty')
115
- @env.vagrantfile.machine_config('vm1')
116
- @env.vagrantfile
117
- c
118
- machines.count
119
- c
120
- env[:machine].provider_config
121
- env[:machine].env.vagrantfile.config[:vpn_url]
122
- env[:machine].env.vagrantfile.config.vpn_url.value
123
- env[:machine].env.vagrantfile.config.vpn_url.to_s
124
- env[:machine].env.vagrantfile.config.vpn_url
125
- env[:machine].env.vagrantfile.config
126
- env[:machine].env.vagrantfile.config.usernamf
127
- env[:machine].env.vagrantfile.config.username.to_s
128
- env[:machine].env.vagrantfile.config.username
129
- env[:machine].env.vagrantfile.config.api_token
130
- env[:machine].env.vagrantfile.config
131
- env[:machine].env.vagrantfile
132
- c
133
- env[:machine]
97
+ tunnel_args
98
+ @env[:machine].config.vm.hostname
99
+ env[:machine].config.vm.hostname
100
+ props.ssh_info[:host]
101
+ props.ssh_info
102
+ props = VmProperties.new(data_dir)
103
+ tunnel_args
134
104
  c
135
- l
136
- p env
137
- pp env
138
- ap env
139
- env[:host]
140
- env[:local_data_path]
141
- env.local_data_path
142
- env[:root_path]
143
- env[:home_path]
144
- env.keys
145
- env.class
146
- env
105
+ tunnel_args
106
+ exec 'ruby', *tunnel_args
147
107
  c
148
- path
149
- n
150
- s
108
+ tunnel_args = ["--vm_addr", "10.1.132.143", "--vm_username", "skytap", "--keyfile", "#{data_dir}/private_key", "--hostport", port[:hostport], "--vm_hostname", "vm1", "--guestport", port[:guestport]]
151
109
  c
152
- @env.local_data_path
110
+ p v
111
+ v
112
+ q
113
+ options
114
+ q
115
+ options
116
+ keyfile
153
117
  c
154
- @env.local_data_path
118
+ options
155
119
  c
156
- up
157
- @env
158
- env.local_data_path
159
- env
160
- env[:machines].first
161
- s
120
+ options
162
121
  c
163
- env
122
+ p v
123
+ v
164
124
  c
165
- display env
125
+ options
166
126
  c
167
- env[:machines]
127
+ p v
128
+ v
168
129
  c
169
- @env
170
- @env.environment
130
+ args
131
+ puts v
132
+ v
171
133
  c
172
- env[:machines]
134
+ options
135
+ n
173
136
  c
174
- env[:machines]
137
+ vm_username
138
+ vm_addr
175
139
  c
176
- machines.first.provider_config
177
- machines.first.env.provider_config
178
- machines.first.env
179
- machines.first
180
- @env.environment
140
+ n
141
+ argv
142
+ s
143
+ n
144
+ finish
145
+ n
146
+ banner
147
+ s
148
+ c 26
149
+ n
181
150
  c
182
- env[:machine]
183
- env[:machines]
184
- env[:environment]
185
- environment
186
- q
187
- env[:machines].collect(&:id)
188
- env[:machines]
189
151
  n
152
+ q
153
+ vm_username
154
+ vm_addr
155
+ q
156
+ keyfile
157
+ vm_addr
158
+ c
159
+ keyfile
160
+ q
161
+ keyfile
162
+ c
163
+ q
190
164
  c
165
+ ARGV
166
+ argv
167
+ $ARGV
168
+ c
169
+ cmd
191
170
  n
192
- options
171
+ c
193
172
  n
194
- b
195
- c 83
196
173
  c
174
+ pid
197
175
  n
198
- finish
176
+ c
177
+ pid
199
178
  n
200
- machines
201
- $!
202
- finish
203
- $!
179
+ c
180
+ pid
181
+ s
182
+ pid
183
+ s
204
184
  n
205
- options
185
+ s
206
186
  n
207
187
  c
208
- finish
188
+ cmd
209
189
  n
210
- s
190
+ exit
191
+ Net::SSH.start(vm_hostname, vm_username, keys: [keyfile]){|ssh| ssh.forward.local(8080, vm_hostname, 80) and ssh.loop { false } }
192
+ require 'net/ssh'
193
+ require 'net-ssh'
194
+ Net::SSH.start(vm_hostname, vm_username, keys: [keyfile]){|ssh| ssh.forward.local(8080, vm_hostname, 80) and ssh.loop { false } }
195
+ Net::SSH.start(vm_hostname, vm_username, keys: [keyfile]){|ssh| ssh.forward.local(8080, vm_hostname, 80) ; ssh.loop { false } }
196
+ keyfile = "#{@env[:machine].data_dir}/private_key"
197
+ vm_hostname
198
+ vm_username=VmProperties.new(@env[:machine].data_dir).properties['username']
199
+ VmProperties.new(@env[:machine].data_dir).properties['username']
200
+ props.properties['username']
201
+ props['username']
202
+ props.username
203
+ props=VmProperties.new(@env[:machine].data_dir)
204
+ props=VmProperties(@env[:machine].data_dir)
205
+ VmProperties
206
+ vm_username = @env[:environment].current_vm.properties['username']
207
+ vm_hostname = 'vm1'
208
+ Net::SSH.start(vm_hostname, vm_username, keys: [keyfile]){|ssh| ssh.forward.local(8080, vm_hostname, 80) ; ssh.loop { true } }
209
+ "#{@env[:machine].data_dir}/private_key"
210
+ @env[:machine].data_dir
211
+ @env[:machine].local_dir
212
+ @env[:machine].machine_dir
213
+ @env[:machine].private_key
214
+ @env[:machine].id
211
215
  c
212
- Vagrant::Errors::VMBootTimeout
213
- Vagrant::Errors::VagrantError::VMBootTimeout
214
- VagrantError::VMBootTimeout
215
- Errors::VMBootTimeout
216
+ q
217
+ $ARGV
218
+ $ARGC
216
219
  c
217
- options
220
+ $ARGV
221
+ $ARGC
222
+ ssh.host = '10.1.132.143'
223
+ ssh.host
224
+ ssh.host_name
225
+ ssh.port
226
+ ap ssh
227
+ require 'ap'
228
+ ssh
218
229
  c
230
+ ports.count
231
+ ports
232
+ c
233
+ interfaces.first.vpn_nat_addresses.present?
234
+ interfaces.first.nat_addresses
235
+ interfaces.first.network_nat_addresses
236
+ interfaces.first.vpn_nat_addresses
237
+ interfaces.vpn_nat_addresses
238
+ interfaces.nat_addresses
239
+ interfaces.first.attrs
240
+ interfaces.first.type
241
+ n
242
+ c
243
+ interfaces.count
244
+ interfaces[fp.adapter]
245
+ interfaces.shift
246
+ interfaces[fp.adapter]
247
+ interfaces.count
248
+ interfaces.unshift
249
+ interfaces[fp.adapter]
250
+ interfaces.count
251
+ fp
252
+ fp.adapter
253
+ c
254
+ @env[:environment].current_vm.interfaces.count
255
+ @env[:environment].current_vm.interfaces
256
+ l
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.8 (December 2, 2015)
2
+
3
+ * Fixed an issue with the custom "up" command breaking `vagrant up` for
4
+ other providers.
1
5
 
2
6
  # 0.1.7 (November 30, 2015)
3
7