Puppet Class: profile::mariadb::beta
- Defined in:
- modules/profile/manifests/mariadb/beta.pp
Overview
Beta Cluster DB server
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 |
# File 'modules/profile/manifests/mariadb/beta.pp', line 2
class profile::mariadb::beta {
include profile::base::production
require profile::mariadb::packages_wmf
include profile::mariadb::wmfmariadbpy
include passwords::misc::scripts
include mariadb::stock_heartbeat
class { 'mariadb::config':
basedir => $profile::mariadb::packages_wmf::basedir,
config => 'role/mariadb/mysqld_config/beta.my.cnf.erb',
}
class { 'mariadb::service':
ensure => 'running',
manage => true,
enable => true,
require => Class['mariadb::config'],
}
$password = $passwords::misc::scripts::mysql_beta_root_pass
$prompt = 'BETA'
file { '/root/.my.cnf':
owner => 'root',
group => 'root',
mode => '0400',
content => template('mariadb/root.my.cnf.erb'),
}
}
|