Repository URL to install this package:
Version:
4.2.64-4.2 ▾
|
puppet-triliovault
/
usr
/
share
/
openstack-puppet
/
modules
/
trilio
/
manifests
/
tripleo
/
mysql.pp
|
---|
# == Class: trilio::tripleo::mysql
#
# MySQL profile for tripleo
#
# === Parameters
# [*bootstrap_node*]
# (Optional) The hostname of the node responsible for bootstrapping tasks
# Defaults to hiera('mysql_short_bootstrap_node_name')
class trilio::tripleo::mysql (
$bootstrap_node = hiera('mysql_short_bootstrap_node_name', undef),
) {
if $::hostname == downcase($bootstrap_node) {
$sync_db = true
} else {
$sync_db = false
}
if $sync_db {
if hiera('trilio_datamover_api_enabled', false) {
include ::trilio::db::mysql
}
}
}