chef-metal-vagrant 0.5 → 0.6

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: e6473a5ced6e66c696a57fa90a685f43115d6b31
4
- data.tar.gz: 9ad0c99f17935794ed1fbf02463003f2c4f0b000
3
+ metadata.gz: 42ba70f08cd9d773f590362eb5834a4661733b7d
4
+ data.tar.gz: 0d503d578e1b39a64e8153fa922a0fd5a41768bf
5
5
  SHA512:
6
- metadata.gz: 23f7ca070aa4de896cb8979a127fcfa9f1624e9b81d0fc7475ed5fe2f1a3f40d8a7f21ecd70c1d6fd64315ef1401408083a2b27c49a1af99854ce7814b1da349
7
- data.tar.gz: 4c51cc5c972815e0abd12fe166ba785fa2e785e63ac759f5447ff17e24a8add692d9f1c93bdfbdf00411429f0e152c6b86725203d1f1eef658d86aff3a1a5357
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+([^\n]+)\s+\(([^\n]+)\)$/m
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
@@ -1,3 +1,3 @@
1
1
  module ChefMetalVagrant
2
- VERSION = '0.5'
2
+ VERSION = '0.6'
3
3
  end
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.5'
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-06-18 00:00:00.000000000 Z
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef