aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database/mysql.yaml
blob: 6f8f91b57896132c03fb7483c959e9746455a8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
heat_template_version: 2016-04-08

description: >
  MySQL service deployment using puppet

parameters:
  #Parameters not used EndpointMap
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json

outputs:
  role_data:
    description: Service MySQL using composable services.
    value:
      service_name: mysql
      config_settings:
        # The Galera package should work in cluster and
        # non-cluster modes based on the config file.
        # We set the package name here explicitly so
        # that it matches what we pre-install
        # in tripleo-puppet-elements.
        mysql::server::package_name: 'mariadb-galera-server'
        mysql::server::manage_config_file: true
        tripleo.mysql.firewall_rules:
          '104 mysql galera':
            dport:
              - 873
              - 3306
              - 4444
              - 4567
              - 4568
              - 9200
      step_config: |
        include ::tripleo::profile::base::database::mysql