packstack/packstack/puppet/modules/packstack/manifests/keystone/heat.pp

18 lines
613 B
Puppet

class packstack::keystone::heat ()
{
$heat_protocol = 'http'
$heat_port = '8004'
$heat_api_host = lookup('CONFIG_KEYSTONE_HOST_URL')
$heat_url = "${heat_protocol}://${heat_api_host}:${heat_port}/v1/%(tenant_id)s"
# heat::keystone::auth
class { 'heat::keystone::auth':
region => lookup('CONFIG_KEYSTONE_REGION'),
password => lookup('CONFIG_HEAT_KS_PW'),
public_url => $heat_url,
admin_url => $heat_url,
internal_url => $heat_url,
configure_delegated_roles => true,
}
}