Add DefaultPasswords to composable services
[apex-tripleo-heat-templates.git] / puppet / services / database / mysql.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   MySQL service deployment using puppet
5
6 parameters:
7   #Parameters not used EndpointMap
8   ServiceNetMap:
9     default: {}
10     description: Mapping of service_name -> network name. Typically set
11                  via parameter_defaults in the resource registry.  This
12                  mapping overrides those in ServiceNetMapDefaults.
13     type: json
14   DefaultPasswords:
15     default: {}
16     type: json
17   EndpointMap:
18     default: {}
19     description: Mapping of service endpoint -> protocol. Typically set
20                  via parameter_defaults in the resource registry.
21     type: json
22
23 outputs:
24   role_data:
25     description: Service MySQL using composable services.
26     value:
27       service_name: mysql
28       config_settings:
29         # The Galera package should work in cluster and
30         # non-cluster modes based on the config file.
31         # We set the package name here explicitly so
32         # that it matches what we pre-install
33         # in tripleo-puppet-elements.
34         mysql::server::package_name: 'mariadb-galera-server'
35         mysql::server::manage_config_file: true
36         tripleo.mysql.firewall_rules:
37           '104 mysql galera':
38             dport:
39               - 873
40               - 3306
41               - 4444
42               - 4567
43               - 4568
44               - 9200
45       step_config: |
46         include ::tripleo::profile::base::database::mysql