I have been tasked with templating MySQL’s my.cnf in an attempt standardize the configuration amongst the slave databases using Puppet. Right now, I’m targeting the innodb settings.
Are there configuration options that can safely be calculated against hardware specifications such as memory, disk and procs?
I have been tasked with templating MySQL’s my.cnf in an attempt standardize the configuration
Share
You need facter.
`
and in puppet.pp i use facts $disks
see “Adding Custom Facts to Facter” on puppet labs.