tripleo-heat-templates/deployment/barbican/barbican-client-puppet.yaml

64 lines
2.2 KiB
YAML

heat_template_version: wallaby
description: >
OpenStack Barbican client configuration
parameters:
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. Use
parameter_merge_strategies to merge it with the defaults.
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
KeystoneRegion:
type: string
default: 'regionOne'
description: Keystone region for endpoint
outputs:
role_data:
description: Role data for the Barbican client.
value:
service_name: barbican_client
service_config_settings:
nova_compute:
nova::compute::keymgr_backend: barbican
nova::compute::barbican_endpoint:
get_param: [EndpointMap, BarbicanInternal, uri]
nova::compute::barbican_auth_endpoint:
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
cinder_api: &cinder_barbican_config
cinder::keymgr_backend: barbican
cinder::keymgr_encryption_api_url:
get_param: [EndpointMap, BarbicanInternal, uri]
cinder::keymgr_encryption_auth_url:
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
cinder_volume: *cinder_barbican_config
cinder_backup: *cinder_barbican_config
glance_api: &glance_barbican_config
glance::key_manager::backend: barbican
glance::key_manager::barbican::barbican_endpoint:
get_param: [EndpointMap, BarbicanInternal, uri]
glance::key_manager::barbican::auth_endpoint:
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
glance::key_manager::barbican::barbican_region_name:
get_param: KeystoneRegion
glance_api_edge: *glance_barbican_config