1 heat_template_version: ocata
4 MySQL with Pacemaker service deployment using puppet
7 #Parameters not used EndpointMap
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.
19 description: Mapping of service endpoint -> protocol. Typically set
20 via parameter_defaults in the resource registry.
26 type: ../../database/mysql.yaml
28 ServiceNetMap: {get_param: ServiceNetMap}
29 DefaultPasswords: {get_param: DefaultPasswords}
30 EndpointMap: {get_param: EndpointMap}
34 description: Service MySQL with Pacemaker using composable services.
39 - get_attr: [MysqlBase, role_data, config_settings]
40 - tripleo::profile::pacemaker::database::mysql::bind_address:
43 "%{hiera('fqdn_$NETWORK')}"
45 $NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
46 # NOTE: bind IP is found in Heat replacing the network name with the
47 # local node IP for the given network; replacement examples
48 # (eg. for internal_api):
50 # internal_api_uri -> [IP]
51 # internal_api_subnet - > IP/CIDR
52 tripleo::profile::pacemaker::database::mysql::gmcast_listen_addr:
53 get_param: [ServiceNetMap, MysqlNetwork]
55 include ::tripleo::profile::pacemaker::database::mysql
57 - name: Check for galera root password
59 file: path=/root/.my.cnf state=file