chef-metal-vagrant 0.5 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef_metal_vagrant/vagrant_driver.rb +2 -2
- data/lib/chef_metal_vagrant/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: 42ba70f08cd9d773f590362eb5834a4661733b7d
|
4
|
+
data.tar.gz: 0d503d578e1b39a64e8153fa922a0fd5a41768bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a39044b884a5133eaae765dd1c15203395f39fbaffadeb99a19bb46a704b68cd109d44a4e203def878ff8cea60b115049b48e745bd51ba52487b78078d3922a3
|
7
|
+
data.tar.gz: e4803282d13b3e6119a825e2ed3d6483e023b269365464eeb03e1b46748a447a25a9e83af5be1afd9c56f0c2dc9ca06292fac497f606c499919bfec7b212fa35
|
@@ -392,7 +392,7 @@ module ChefMetalVagrant
|
|
392
392
|
|
393
393
|
def vagrant_status(name)
|
394
394
|
status_output = shell_out("vagrant status #{name}", :cwd => cluster_path).stdout
|
395
|
-
if status_output =~ /^#{name}\s+(
|
395
|
+
if status_output =~ /^#{name}\s+(.+)\s+\((.+)\)$/
|
396
396
|
$1
|
397
397
|
else
|
398
398
|
'not created'
|
@@ -441,7 +441,7 @@ module ChefMetalVagrant
|
|
441
441
|
result = shell_out("vagrant ssh-config #{machine_spec.location['vm_name']}",
|
442
442
|
:cwd => cluster_path)
|
443
443
|
result.stdout.lines.inject({}) do |result, line|
|
444
|
-
line =~ /^\s*(\S+)\s+(
|
444
|
+
line =~ /^\s*(\S+)\s+(.+?)(\r\n|\r|\n|\z)/
|
445
445
|
vagrant_ssh_config[$1] = $2
|
446
446
|
end
|
447
447
|
vagrant_ssh_config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-metal-vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|