
Packstack configures Hiera as data backend. Packstack puppet templates are now using hiera() and hiera_array() functions to fetch data from hiera backend. Packstack generates a defaults.yaml file in the /var/tmp/packstack directory. Firewall rules for each openstack components are inserted into the hiera backend as hash and created by the create_resources function. Change-Id: Iab553a71264b0fc0f26d33a6304b545ad302f664 Fixes: rhbz#1145223 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
23 lines
806 B
Puppet
23 lines
806 B
Puppet
|
|
class { 'heat::api': }
|
|
|
|
$heat_cfg_ctrl_host = hiera('CONFIG_CONTROLLER_HOST')
|
|
|
|
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'),
|
|
}
|
|
|
|
class { 'heat::keystone::domain':
|
|
auth_url => "http://${heat_cfg_ctrl_host}:35357/v2.0",
|
|
keystone_admin => 'admin',
|
|
keystone_password => hiera('CONFIG_KEYSTONE_ADMIN_PW'),
|
|
keystone_tenant => 'admin',
|
|
domain_name => hiera('CONFIG_HEAT_DOMAIN'),
|
|
domain_admin => hiera('CONFIG_HEAT_DOMAIN_ADMIN'),
|
|
domain_password => hiera('CONFIG_HEAT_DOMAIN_PASSWORD'),
|
|
}
|
|
|