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 +4 -4
- data/lib/chef/sugar/rackspace/ip.rb +14 -0
- data/lib/chef/sugar/rackspace/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d0942ebb48423f1d73c263c5bf6e2d1be343ae1
|
4
|
+
data.tar.gz: 5b847ea881185d48ebc44718d07b45dc79eba755
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|