Merge "Stop also openstack-swift-object-expirer when upgrading swift services"
[apex-tripleo-heat-templates.git] / puppet / services / veritas-hyperscale-controller.yaml
1 # Copyright (c) 2017 Veritas Technologies LLC.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 heat_template_version: ocata
15
16 description: >
17   Openstack Veritas HyperScale backend
18
19 parameters:
20   VrtsRabbitPassword:
21     type: string
22     default: ''
23   VrtsKeystonePassword:
24     type: string
25     default: ''
26   VrtsMysqlPassword:
27     type: string
28     default: ''
29   ServiceData:
30     default: {}
31     description: Dictionary packing service data
32     type: json
33   ServiceNetMap:
34     default: {}
35     description: Mapping of service_name -> network name. Typically set
36                  via parameter_defaults in the resource registry.  This
37                  mapping overrides those in ServiceNetMapDefaults.
38     type: json
39   DefaultPasswords:
40     default: {}
41     type: json
42   RoleName:
43     default: ''
44     description: Role name on which the service is applied
45     type: string
46   RoleParameters:
47     default: {}
48     description: Parameters specific to the role
49     type: json
50   EndpointMap:
51     default: {}
52     type: json
53     description: Mapping of service endpoint -> protocol. Typically set
54                  via parameter_defaults in the resource registry.
55
56 outputs:
57   role_data:
58     description: Install Veritas HyperScale packages for controller.
59     value:
60       service_name: veritas_hyperscale_controller
61       config_settings:
62       step_config: |
63         include ::veritas_hyperscale::controller_pkg_inst
64       service_config_settings:
65         rabbitmq:
66             vrts_rabbitmq_passwd: {get_param: VrtsRabbitPassword}
67         keystone:
68             vrts_keystone_passwd: {get_param: VrtsKeystonePassword}
69         mysql:
70             vrts_mysql_passwd: {get_param: VrtsMysqlPassword}