34db078220
https://review.openstack.org/#/c/351792 changed the manila puppet module authentication to manila::keystone::authtoken. Change-Id: I58e1df8a463b9ab9af16f9d01e479aa4f044b929
34 lines
806 B
Puppet
34 lines
806 B
Puppet
class packstack::manila ()
|
|
{
|
|
create_resources(packstack::firewall, hiera('FIREWALL_MANILA_API_RULES', {}))
|
|
|
|
manila_config {
|
|
'DEFAULT/glance_host': value => hiera('CONFIG_STORAGE_HOST_URL');
|
|
}
|
|
|
|
$bind_host = hiera('CONFIG_IP_VERSION') ? {
|
|
'ipv6' => '::0',
|
|
default => '0.0.0.0',
|
|
# TO-DO(mmagr): Add IPv6 support when hostnames are used
|
|
}
|
|
|
|
class { '::manila::keystone::authtoken':
|
|
password => hiera('CONFIG_MANILA_KS_PW'),
|
|
auth_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
|
|
}
|
|
|
|
class { '::manila::api':
|
|
bind_host => $bind_host,
|
|
}
|
|
|
|
class { '::manila::scheduler':
|
|
}
|
|
|
|
class { '::manila::share':
|
|
}
|
|
|
|
class { '::manila::backends':
|
|
enabled_share_backends => hiera('CONFIG_MANILA_BACKEND'),
|
|
}
|
|
}
|