chef-sugar-rackspace 0.0.2 → 0.0.3

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: 563b9a0e05fb281579b6a97efc1a8ac1ea7717b0
4
- data.tar.gz: 200cc99a30ce1aa988f720285dc0f634fb777992
3
+ metadata.gz: 5d0942ebb48423f1d73c263c5bf6e2d1be343ae1
4
+ data.tar.gz: 5b847ea881185d48ebc44718d07b45dc79eba755
5
5
  SHA512:
6
- metadata.gz: cc2410790802709968608bacb103bc6f8e51c8ef835c6438b8fe14766108f1732f9b70bf79765063dd714fa44470b32c71ee3e0844663fa4f27e81abfc1cfc53
7
- data.tar.gz: 3c234532b82e89fe2d931139ffb224c980dc7e3d16fd6a7c7bfc2c4898266e15c2faded2f09cfc2ad1328b60c48d55d0af7e18a67ed9759a6c05a82564c46226
6
+ metadata.gz: b1679769931d6d4c503445d41f97e4698250398fbd967cf15c96114ac21440f049bbb056bd3304ad62fe82ee5d27cf85dc390d7d95aedfd67b5d66edf69e0fb3
7
+ data.tar.gz: 4fad4632a8ca10f83a3ee9621954a0f6438ce05ea473ba980f964297f39f7c1989b764b8659d1d7c4746260a91f6cd35e7adf4fe708204ccde32131093cdf79c
@@ -67,5 +67,19 @@ class Chef
67
67
  return networks
68
68
  end
69
69
  end
70
+
71
+ module DSL
72
+ def cloud_network_ip(label=nil)
73
+ Chef::Sugar::IP.cloud_network_ip(node, label)
74
+ end
75
+
76
+ def cloud_networks
77
+ Chef::Sugar::IP.cloud_networks(node)
78
+ end
79
+
80
+ def best_rackspace_ip_for(other)
81
+ Chef::Sugar::IP.best_rackspace_ip_for(node, other)
82
+ end
83
+ end
70
84
  end
71
85
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Sugar
3
3
  module Rackspace
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Rosser