diff --git a/manifests/backup/mysqlbackup.pp b/manifests/backup/mysqlbackup.pp index b2ef286b3..a3a722208 100644 --- a/manifests/backup/mysqlbackup.pp +++ b/manifests/backup/mysqlbackup.pp @@ -84,7 +84,7 @@ 'password' => $backuppassword, } } - $options = mysql_deepmerge($default_options, $override_options) + $options = mysql_deepmerge($default_options, $mysql::server::override_options) file { 'mysqlbackup-config-file': path => '/etc/mysql/conf.d/meb.cnf', diff --git a/manifests/server/backup.pp b/manifests/server/backup.pp index 9d9dd5bcc..e2cac2f37 100644 --- a/manifests/server/backup.pp +++ b/manifests/server/backup.pp @@ -19,7 +19,7 @@ $provider = 'mysqldump', ) { - create_resources("class", { + create_resources('class', { "mysql::backup::${provider}" => { 'backupuser' => $backupuser, 'backuppassword' => $backuppassword,