qualified Openstack module name

This commit is contained in:
John Dewey
2012-11-20 16:49:27 -08:00
parent c09dcf3669
commit c3f52f1bfc

View File

@@ -17,7 +17,7 @@
# limitations under the License.
#
module Openstack
module ::Openstack
# Instead of specifying the verbose node["openstack"]["endpoints"][name],
# this shortcut allows the simpler and shorter endpoint(name)
def endpoint name
@@ -27,7 +27,7 @@ module Openstack
end
# Shortcut to get the full URI for an endpoint. If the "uri" key isn't
# set in the endpoint hash, we use the Openstack::get_uri_from_mash
# set in the endpoint hash, we use the ::Openstack.get_uri_from_mash
# library routine from the openstack-utils cookbook to grab a URI object
# and construct the URI object from the endpoint parts.
def endpoint_uri name