4d6962e868
Handful of changes here, such as removing flush (so that mysql_user can be used for root password changes) and other tweaks here. Add time option to mysql::backup.
31 lines
829 B
Puppet
31 lines
829 B
Puppet
# Deprecated class
|
|
class mysql::backup (
|
|
$backupuser,
|
|
$backuppassword,
|
|
$backupdir,
|
|
$backupcompress = true,
|
|
$backuprotate = 30,
|
|
$delete_before_dump = false,
|
|
$backupdatabases = [],
|
|
$file_per_database = false,
|
|
$ensure = 'present',
|
|
$time = ['23', '5'],
|
|
) {
|
|
|
|
crit("This class has been deprecated and callers should directly call
|
|
mysql::server::backup now.")
|
|
|
|
class { 'mysql::server::backup':
|
|
ensure => $ensure,
|
|
backupuser => $backupuser,
|
|
backuppassword => $backuppassword,
|
|
backupdir => $backupdir,
|
|
backupcompress => $backupcompress,
|
|
backuprotate => $backuprotate,
|
|
delete_before_dump => $delete_before_dump,
|
|
backupdatabases => $backupdatabases,
|
|
file_per_database => $file_per_database,
|
|
time => $time,
|
|
}
|
|
|
|
}
|