aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database/mysql.yaml
blob: c733f3cd963ff183bbc626552ee84cc1cb0f3492 (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
38
39
40
41
42
43
heat_template_version: 2016-04-08

description: >
  MySQL service deployment using puppet

parameters:
  #Parameters not used EndpointMap
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  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