Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
# == 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
    }
  }
}