Ugo Bellavance
05/13/2022, 8:09 PMLumiere
05/13/2022, 8:09 PMUgo Bellavance
05/13/2022, 8:10 PMmariadb::server::purge_conf_dir
should be OK, right?Lumiere
05/13/2022, 8:10 PMUgo Bellavance
05/13/2022, 8:10 PMmariadb::server::override_options :
looks bad as well, right?Ugo Bellavance
05/13/2022, 8:11 PMYorokobi
05/13/2022, 8:11 PMUgo Bellavance
05/13/2022, 8:15 PMnatemccurdy
05/13/2022, 8:16 PMbind-address
and log_output
. Not sure what you want those to be, so I just set them as ~
(which is the null character in YAML).
But here’s how that YAML should look.Ugo Bellavance
05/13/2022, 8:17 PMUgo Bellavance
05/13/2022, 8:17 PMPath "/etc/puppetlabs/code/environments/production/data/role/mariadb.yaml"
Original path: "role/%{facts.atq.role}.yaml"
Found key: "mariadb::server::override_options" value: {
"purge_conf_dir" => true,
"mysqld" => {
"binlog_format" => "MIXED",
"innodb_buffer_pool_size" => "1G",
"innodb_buffer_pool_instances" => 1,
"join_buffer_size" => "512K",
"key_buffer_size" => "256M"
}
}
Ugo Bellavance
05/13/2022, 8:19 PMUgo Bellavance
05/13/2022, 8:20 PMnatemccurdy
05/13/2022, 8:21 PMmariadb
to your node? Is there a node
definition? Maybe that’s not matching?Ugo Bellavance
05/13/2022, 8:21 PMUgo Bellavance
05/13/2022, 8:22 PMLumiere
05/13/2022, 8:22 PMLumiere
05/13/2022, 8:22 PMUgo Bellavance
05/13/2022, 8:23 PMUgo Bellavance
05/13/2022, 8:23 PMmariadb::server::manage_repo: true
mariadb::server::manage_config_file: true
mariadb::server::purge_conf_dir: true
mariadb::server::repo_version: '10.6'
mariadb::backup::mariabackup::backupuser: 'potato'
# MySQL module config options passthru
mariadb::server::override_options:
'mysqld':
binlog_format: MIXED
innodb_buffer_pool_size: 1G
innodb_buffer_pool_instances: 1
# innodb_log_file_size: 1375M
join_buffer_size: 512K
key_buffer_size: 256M
Ugo Bellavance
05/13/2022, 8:23 PMmariadb::server::repo_version
does work.Lumiere
05/13/2022, 8:25 PMLumiere
05/13/2022, 8:25 PMLumiere
05/13/2022, 8:26 PMLumiere
05/13/2022, 8:26 PMUgo Bellavance
05/13/2022, 8:28 PMLumiere
05/13/2022, 8:29 PMUgo Bellavance
05/13/2022, 8:29 PMmariadb::server::repo_version
does work.Lumiere
05/13/2022, 8:30 PMUgo Bellavance
05/13/2022, 8:31 PMmod 'edestecd/mariadb', '2.1.1'
mod 'puppetlabs/mysql', '10.3.0'