File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 29
29
type => ' compute' ,
30
30
description => " Openstack Compute Service" ,
31
31
}
32
- keystone_endpoint { $ auth_name:
32
+ keystone_endpoint { "${region}/${ auth_name}" :
33
33
ensure => present ,
34
- region => $region ,
35
34
public_url => " http://${public_address} :${compute_port} /${compute_version} /%(tenant_id)s" ,
36
35
admin_url => " http://${admin_address} :${compute_port} /${compute_version} /%(tenant_id)s" ,
37
36
internal_url => " http://${internal_address} :${compute_port} /${compute_version} /%(tenant_id)s" ,
42
41
type => ' volume' ,
43
42
description => ' Volume Service' ,
44
43
}
45
- keystone_endpoint { "${auth_name}_volume" :
44
+ keystone_endpoint { "${region}/${ auth_name}_volume" :
46
45
ensure => present ,
47
- region => $region ,
48
46
public_url => " http://${public_address} :${volume_port} /${volume_version} /%(tenant_id)s" ,
49
47
admin_url => " http://${admin_address} :${volume_port} /${volume_version} /%(tenant_id)s" ,
50
48
internal_url => " http://${internal_address} :${volume_port} /${volume_version} /%(tenant_id)s" ,
55
53
type => ' ec2' ,
56
54
description => ' EC2 Service' ,
57
55
}
58
- keystone_endpoint { "${auth_name}_ec2" :
56
+ keystone_endpoint { "${region}/${ auth_name}_ec2" :
59
57
ensure => present ,
60
- region => $region ,
61
58
public_url => " http://${public_address} :${ec2_port} /services/Cloud" ,
62
59
admin_url => " http://${admin_address} :${ec2_port} /services/Admin" ,
63
60
internal_url => " http://${internal_address} :${ec2_port} /services/Cloud" ,
You can’t perform that action at this time.
0 commit comments