Merge "Rename service_workflow_tasks into workflow_tasks" into stable/pike
[apex-tripleo-heat-templates.git] / docker / services / ceph-ansible / ceph-external.yaml
1 heat_template_version: pike
2
3 description: >
4   Ceph External service.
5
6 parameters:
7   ServiceData:
8     default: {}
9     description: Dictionary packing service data
10     type: json
11   ServiceNetMap:
12     default: {}
13     description: Mapping of service_name -> network name. Typically set
14                  via parameter_defaults in the resource registry.  This
15                  mapping overrides those in ServiceNetMapDefaults.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   RoleName:
21     default: ''
22     description: Role name on which the service is applied
23     type: string
24   RoleParameters:
25     default: {}
26     description: Parameters specific to the role
27     type: json
28   EndpointMap:
29     default: {}
30     description: Mapping of service endpoint -> protocol. Typically set
31                  via parameter_defaults in the resource registry.
32     type: json
33   CephExternalMonHost:
34     default: ''
35     type: string
36     description: List of externally managed Ceph Mon Host IPs. Only used for external Ceph deployments.
37
38 resources:
39   CephBase:
40     type: ./ceph-base.yaml
41     properties:
42       ServiceData: {get_param: ServiceData}
43       ServiceNetMap: {get_param: ServiceNetMap}
44       DefaultPasswords: {get_param: DefaultPasswords}
45       EndpointMap: {get_param: EndpointMap}
46       RoleName: {get_param: RoleName}
47       RoleParameters: {get_param: RoleParameters}
48
49 outputs:
50   role_data:
51     description: Role data for the Ceph External service.
52     value:
53       service_name: ceph_client
54       upgrade_tasks: []
55       step_config: ''
56       puppet_config:
57         config_image: ''
58         config_volume: ''
59         step_config: ''
60       docker_config: {}
61       workflow_tasks: {get_attr: [CephBase, role_data, workflow_tasks]}
62       config_settings:
63         ceph_client_ansible_vars:
64           map_merge:
65           - {get_attr: [CephBase, role_data, config_settings, ceph_common_ansible_vars]}
66           - external_cluster_mon_ips: {get_param: CephExternalMonHost}