c144eeb3c7
* changes made due to upload mechanism for murano packages has been changed * this patch-set depends on https://review.fuel-infra.org/#/c/5427/ * removed unused cirros class Change-Id: I32c69448d06384f3036c5a493db0e744d1770c21 Related-Bug: #1441217 Closes-Bug: #1441274
42 lines
1.1 KiB
Puppet
42 lines
1.1 KiB
Puppet
# Configures keytone parameters required by murano
|
|
|
|
class murano::keystone (
|
|
$user = 'murano',
|
|
$password = 'swordfish',
|
|
$tenant = 'services',
|
|
$email = 'murano@localhost',
|
|
$public_address = '127.0.0.1',
|
|
$admin_address = '127.0.0.1',
|
|
$internal_address = '127.0.0.1',
|
|
$region = 'RegionOne',
|
|
$murano_api_port = '8082',
|
|
) {
|
|
|
|
keystone_user { $user:
|
|
ensure => present,
|
|
enabled => true,
|
|
tenant => $tenant,
|
|
email => $email,
|
|
password => $password,
|
|
}
|
|
|
|
keystone_user_role { "${user}@${tenant}":
|
|
roles => 'admin',
|
|
ensure => present,
|
|
}
|
|
|
|
keystone_service { $user:
|
|
ensure => present,
|
|
type => 'application_catalog',
|
|
description => 'Application Catalog for OpenStack',
|
|
}
|
|
|
|
keystone_endpoint { "$region/$user":
|
|
ensure => present,
|
|
public_url => "http://${public_address}:${murano_api_port}",
|
|
internal_url => "http://${internal_address}:${murano_api_port}",
|
|
admin_url => "http://${admin_address}:${murano_api_port}",
|
|
}
|
|
|
|
}
|