26 lines
849 B
Puppet
26 lines
849 B
Puppet
|
|
class { '::heat::api': }
|
|
|
|
$keystone_admin = hiera('CONFIG_KEYSTONE_ADMIN_USERNAME')
|
|
$heat_cfg_ctrl_host = hiera('CONFIG_KEYSTONE_HOST_URL')
|
|
|
|
class { '::heat::engine':
|
|
heat_metadata_server_url => "http://${heat_cfg_ctrl_host}:8000",
|
|
heat_waitcondition_server_url => "http://${heat_cfg_ctrl_host}:8000/v1/waitcondition",
|
|
heat_watch_server_url => "http://${heat_cfg_ctrl_host}:8003",
|
|
auth_encryption_key => hiera('CONFIG_HEAT_AUTH_ENC_KEY'),
|
|
}
|
|
|
|
keystone_user_role { "${keystone_admin}@admin":
|
|
ensure => present,
|
|
roles => ['admin', '_member_', 'heat_stack_owner'],
|
|
require => Class['heat::engine'],
|
|
}
|
|
|
|
class { '::heat::keystone::domain':
|
|
domain_name => hiera('CONFIG_HEAT_DOMAIN'),
|
|
domain_admin => hiera('CONFIG_HEAT_DOMAIN_ADMIN'),
|
|
domain_password => hiera('CONFIG_HEAT_DOMAIN_PASSWORD'),
|
|
}
|
|
|