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

68 lines
2.5 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::key_manager::backend: barbican
nova::key_manager::barbican::barbican_endpoint:
get_param: [EndpointMap, BarbicanInternal, uri]
nova::key_manager::barbican::auth_endpoint:
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
nova::key_manager::barbican::barbican_region_name:
get_param: KeystoneRegion
cinder_api: &cinder_barbican_config
cinder::key_manager::backend: barbican
cinder::key_manager::barbican::barbican_endpoint:
get_param: [EndpointMap, BarbicanInternal, uri]
cinder::key_manager::barbican::auth_endpoint:
get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]
cinder::key_manager::barbican::barbican_region_name:
get_param: KeystoneRegion
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