Skip to content

Commit

Permalink
Merge pull request #1242 from fraenki/fix_xtrabackup
Browse files Browse the repository at this point in the history
Fix xtrabackup regression introduced in #1207
  • Loading branch information
michaeltlombardi authored Oct 15, 2019
2 parents 135f1c6 + ae79cea commit c04c1a6
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions manifests/backup/xtrabackup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,33 @@
# @api private
#
class mysql::backup::xtrabackup (
$xtrabackup_package_name = $mysql::params::xtrabackup_package_name,
$backupuser = undef,
$backuppassword = undef,
$backupdir = '',
$maxallowedpacket = '1M',
$backupmethod = 'xtrabackup',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$backupscript_template = 'mysql/xtrabackup.sh.erb',
$ignore_events = true,
$delete_before_dump = false,
$backupdatabases = [],
$file_per_database = false,
$include_triggers = true,
$include_routines = false,
$ensure = 'present',
$time = ['23', '5'],
$prescript = false,
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
$optional_args = [],
$additional_cron_args = '--backup',
$incremental_backups = true
$xtrabackup_package_name = $mysql::params::xtrabackup_package_name,
$backupuser = undef,
$backuppassword = undef,
$backupdir = '',
$maxallowedpacket = '1M',
$backupmethod = 'xtrabackup',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$backupscript_template = 'mysql/xtrabackup.sh.erb',
$backup_success_file_path = undef,
$ignore_events = true,
$delete_before_dump = false,
$backupdatabases = [],
$file_per_database = false,
$include_triggers = true,
$include_routines = false,
$ensure = 'present',
$time = ['23', '5'],
$prescript = false,
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
$optional_args = [],
$additional_cron_args = '--backup',
$incremental_backups = true
) inherits mysql::params {

ensure_packages($xtrabackup_package_name)
Expand Down

0 comments on commit c04c1a6

Please sign in to comment.