Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / puppet / services / sahara-engine.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Sahara Engine service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
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.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   MonitoringSubscriptionSaharaEngine:
30     default: 'overcloud-sahara-engine'
31     type: string
32   SaharaEngineLoggingSource:
33     type: json
34     default:
35       tag: openstack.sahara.engine
36       path: /var/log/sahara/sahara-engine.log
37
38 resources:
39   SaharaBase:
40     type: ./sahara-base.yaml
41     properties:
42       ServiceNetMap: {get_param: ServiceNetMap}
43       DefaultPasswords: {get_param: DefaultPasswords}
44       EndpointMap: {get_param: EndpointMap}
45       RoleName: {get_param: RoleName}
46       RoleParameters: {get_param: RoleParameters}
47
48 outputs:
49   role_data:
50     description: Role data for the Sahara Engine role.
51     value:
52       service_name: sahara_engine
53       monitoring_subscription: {get_param: MonitoringSubscriptionSaharaEngine}
54       logging_source: {get_param: SaharaEngineLoggingSource}
55       logging_groups:
56         - sahara
57       config_settings:
58         map_merge:
59           - get_attr: [SaharaBase, role_data, config_settings]
60       step_config: |
61         include ::tripleo::profile::base::sahara::engine
62       upgrade_tasks:
63         - name: Stop sahara_engine service
64           tags: step1
65           service: name=openstack-sahara-engine state=stopped