6f8f91b57896132c03fb7483c959e9746455a8d0
[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   EndpointMap:
9     default: {}
10     description: Mapping of service endpoint -> protocol. Typically set
11                  via parameter_defaults in the resource registry.
12     type: json
13
14 outputs:
15   role_data:
16     description: Service MySQL using composable services.
17     value:
18       service_name: mysql
19       config_settings:
20         # The Galera package should work in cluster and
21         # non-cluster modes based on the config file.
22         # We set the package name here explicitly so
23         # that it matches what we pre-install
24         # in tripleo-puppet-elements.
25         mysql::server::package_name: 'mariadb-galera-server'
26         mysql::server::manage_config_file: true
27         tripleo.mysql.firewall_rules:
28           '104 mysql galera':
29             dport:
30               - 873
31               - 3306
32               - 4444
33               - 4567
34               - 4568
35               - 9200
36       step_config: |
37         include ::tripleo::profile::base::database::mysql