examples/identity/basics_v3.rb in fog-openstack-0.2.1 vs examples/identity/basics_v3.rb in fog-openstack-0.2.2
- old
+ new
@@ -1,16 +1,14 @@
# OpenStack Identity Service (Keystone) Example
require 'fog/openstack'
require 'pp'
-auth_url = "https://example.net:35357/v3/auth/tokens"
+auth_url = "https://example.net:35357"
username = 'admin@example.net'
password = 'secret'
project = 'admin'
domain = 'Default'
-
-
keystone = Fog::Identity::OpenStack.new :openstack_auth_url => auth_url,
:openstack_username => username,
:openstack_api_key => password,
:openstack_project_name => project,