chef-sugar-rackspace 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d0942ebb48423f1d73c263c5bf6e2d1be343ae1
4
- data.tar.gz: 5b847ea881185d48ebc44718d07b45dc79eba755
3
+ metadata.gz: e5e11a9c2904936d8b3f9d2cc0fa75839b7b0ad5
4
+ data.tar.gz: da87e60452e18029c5efb55de8f3feef43be252c
5
5
  SHA512:
6
- metadata.gz: b1679769931d6d4c503445d41f97e4698250398fbd967cf15c96114ac21440f049bbb056bd3304ad62fe82ee5d27cf85dc390d7d95aedfd67b5d66edf69e0fb3
7
- data.tar.gz: 4fad4632a8ca10f83a3ee9621954a0f6438ce05ea473ba980f964297f39f7c1989b764b8659d1d7c4746260a91f6cd35e7adf4fe708204ccde32131093cdf79c
6
+ metadata.gz: 03da112c9516f2f613327a76777e618735736ae755760f987205acd3933665020bd2938b41bdf504cc96958b660e7d483d5cb859e17091d3baf4a454a2b058ab
7
+ data.tar.gz: d7efaa4010cc014eefd1fe34dc8ac09dc8bccde2e737be3ce61088d8dce96ff9e61c15e04e953e54fee7136cb9f5781ca3d0276d108f9b1f7a44c170126320ed
@@ -21,7 +21,7 @@ class Chef
21
21
  end
22
22
 
23
23
  ## Return the first ip address in ips
24
- return net['ips'].pop['ip']
24
+ return net['ips'].first['ip']
25
25
  end
26
26
 
27
27
  def best_rackspace_ip_for(node, other)
@@ -37,7 +37,7 @@ class Chef
37
37
  node_clnet.each_key do |node_label|
38
38
  other_clnet.each_key do |other_label|
39
39
  if node_label == other_label
40
- ip = other_clnet[node_label]['ips'].pop['ip']
40
+ ip = other_clnet[node_label]['ips'].first['ip']
41
41
  end
42
42
  end
43
43
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Sugar
3
3
  module Rackspace
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-sugar-rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Rosser