1 heat_template_version: ocata
4 OpenStack Barbican API service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: The password for the barbican service account.
26 description: Set the number of workers for barbican::wsgi::apache
27 default: '%{::processorcount}'
31 description: Set to True to enable debugging on all services.
36 description: Keystone region for endpoint
39 description: Set rabbit subscriber port, change this if using SSL
44 Rabbit client subscriber parameter to specify
45 an SSL connection to the RabbitMQ host.
48 description: The password for RabbitMQ
53 description: The username for RabbitMQ
64 ServiceNetMap: {get_param: ServiceNetMap}
65 DefaultPasswords: {get_param: DefaultPasswords}
66 EndpointMap: {get_param: EndpointMap}
70 description: Role data for the Barbican API role.
72 service_name: barbican_api
75 - get_attr: [ApacheServiceBase, role_data, config_settings]
76 - barbican::keystone::authtoken::password: {get_param: BarbicanPassword}
77 barbican::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
78 barbican::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
79 barbican::keystone::authtoken::project_name: 'service'
80 barbican::api::host_href: {get_param: [EndpointMap, BarbicanPublic, uri]}
81 barbican::api::db_auto_create: false
82 barbican::api::enabled_certificate_plugins: ['simple_certificate']
83 barbican::api::logging::debug: {get_param: Debug}
84 barbican::api::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
85 barbican::api::rabbit_userid: {get_param: RabbitUserName}
86 barbican::api::rabbit_password: {get_param: RabbitPassword}
87 barbican::api::rabbit_port: {get_param: RabbitClientPort}
88 barbican::api::rabbit_heartbeat_timeout_threshold: 60
89 barbican::api::service_name: 'httpd'
90 barbican::wsgi::apache::bind_host: {get_param: [ServiceNetMap, BarbicanApiNetwork]}
91 barbican::wsgi::apache::ssl: {get_param: EnableInternalTLS}
92 barbican::wsgi::apache::workers: {get_param: BarbicanWorkers}
93 barbican::wsgi::apache::servername:
96 "%{hiera('fqdn_$NETWORK')}"
98 $NETWORK: {get_param: [ServiceNetMap, BarbicanApiNetwork]}
99 barbican::db::database_connection:
102 - - {get_param: [EndpointMap, MysqlInternal, protocol]}
104 - {get_param: BarbicanPassword}
106 - {get_param: [EndpointMap, MysqlInternal, host]}
108 tripleo.barbican_api.firewall_rules:
114 include ::tripleo::profile::base::barbican::api
115 service_config_settings:
117 barbican::db::mysql::password: {get_param: BarbicanPassword}
118 barbican::db::mysql::user: barbican
119 barbican::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
120 barbican::db::mysql::dbname: barbican
121 barbican::db::mysql::allowed_hosts:
123 - "%{hiera('mysql_bind_host')}"
125 barbican::keystone::auth::public_url: {get_param: [EndpointMap, BarbicanPublic, uri]}
126 barbican::keystone::auth::internal_url: {get_param: [EndpointMap, BarbicanInternal, uri]}
127 barbican::keystone::auth::admin_url: {get_param: [EndpointMap, BarbicanAdmin, uri]}
128 barbican::keystone::auth::password: {get_param: BarbicanPassword}
129 barbican::keystone::auth::region: {get_param: KeystoneRegion}
130 barbican::keystone::auth::tenant: 'service'
132 nova::compute::keymgr_api_class: >
133 castellan.key_manager.barbican_key_manager.BarbicanKeyManager
134 nova::compute::barbican_endpoint:
135 get_param: [EndpointMap, BarbicanInternal, uri]
136 nova::compute::barbican_auth_endpoint:
137 get_param: [EndpointMap, KeystoneV3Internal, uri]
139 cinder::api::keymgr_api_class: >
140 castellan.key_manager.barbican_key_manager.BarbicanKeyManager
141 cinder::api::keymgr_encryption_api_url:
142 get_param: [EndpointMap, BarbicanInternal, uri]
143 cinder::api::keymgr_encryption_auth_url:
144 get_param: [EndpointMap, KeystoneV3Internal, uri]