8b53020c7a
Create the manila user, database and grant permission to it. Change-Id: I36cbbdbb75ee346d8268faa45505813675f46331
20 lines
826 B
Puppet
20 lines
826 B
Puppet
notify {'MODULAR fuel-plugin-manila/keystone': }
|
|
|
|
$manila = hiera_hash('manila', {})
|
|
$pass = $manila['user_password']
|
|
|
|
$network_metadata = hiera_hash('network_metadata', {})
|
|
$public_ip = $network_metadata['vips']['public']['ipaddr']
|
|
$admin_ip = $network_metadata['vips']['management']['ipaddr']
|
|
$internal_ip = $admin_ip
|
|
|
|
class {'::manila::keystone::auth':
|
|
password => $pass,
|
|
public_url => "http://${public_ip}:8786/v1/%(tenant_id)s",
|
|
public_url_v2 => "http://${public_ip}:8786/v2/%(tenant_id)s",
|
|
admin_url => "http://${admin_ip}:8786/v1/%(tenant_id)s",
|
|
admin_url_v2 => "http://${admin_ip}:8786/v2/%(tenant_id)s",
|
|
internal_url => "http://${internal_ip}:8786/v1/%(tenant_id)s",
|
|
internal_url_v2 => "http://${internal_ip}:8786/v2/%(tenant_id)s",
|
|
}
|