lib/providers/openstack/openstack.rb in lorj-1.0.1 vs lib/providers/openstack/openstack.rb in lorj-1.0.2
- old
+ new
@@ -21,25 +21,25 @@
superclass.provides([:compute, :network])
end
def compute
Fog::Compute.new(
- :provider => :openstack,
- :openstack_api_key => superclass.oForjAccount.get(:account_id),
- :openstack_username => superclass.oForjAccount.get(:account_key),
- :openstack_auth_url => superclass.oForjAccount.get(:auth_uri),
- :openstack_tenant => superclass.oForjAccount.get(:tenant_id),
- :openstack_region => superclass.oForjAccount.get(:compute)
+ :provider => :openstack,
+ :openstack_api_key => superclass.oForjAccount.get(:account_id),
+ :openstack_username => superclass.oForjAccount.get(:account_key),
+ :openstack_auth_url => superclass.oForjAccount.get(:auth_uri),
+ :openstack_tenant => superclass.oForjAccount.get(:tenant_id),
+ :openstack_region => superclass.oForjAccount.get(:compute)
)
end
def network
Fog::Network.new(
- :provider => :openstack,
- :openstack_api_key => superclass.oForjAccount.get(:account_id),
- :openstack_username => superclass.oForjAccount.get(:account_key),
- :openstack_auth_url => superclass.oForjAccount.get(:auth_uri),
- :openstack_tenant => superclass.oForjAccount.get(:tenant_id),
- :openstack_region => superclass.oForjAccount.get(:network)
+ :provider => :openstack,
+ :openstack_api_key => superclass.oForjAccount.get(:account_id),
+ :openstack_username => superclass.oForjAccount.get(:account_key),
+ :openstack_auth_url => superclass.oForjAccount.get(:auth_uri),
+ :openstack_tenant => superclass.oForjAccount.get(:tenant_id),
+ :openstack_region => superclass.oForjAccount.get(:network)
)
end
end