File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
$postscript = false ,
24
24
$execpath = ' /usr/bin:/usr/sbin:/bin:/sbin' ,
25
25
$optional_args = [],
26
+ $additional_cron_args = ' '
26
27
) inherits mysql::params {
27
28
28
29
package{ $xtrabackup_package_name:
47
48
48
49
cron { 'xtrabackup-weekly' :
49
50
ensure => $ensure ,
50
- command => " /usr/local/sbin/xtrabackup.sh ${backupdir} " ,
51
+ command => " /usr/local/sbin/xtrabackup.sh ${backupdir} ${additional_cron_args} " ,
51
52
user => ' root' ,
52
53
hour => $time [0],
53
54
minute => $time [1],
57
58
58
59
cron { 'xtrabackup-daily' :
59
60
ensure => $ensure ,
60
- command => " /usr/local/sbin/xtrabackup.sh --incremental ${backupdir} " ,
61
+ command => " /usr/local/sbin/xtrabackup.sh --incremental ${backupdir} ${additional_cron_args} " ,
61
62
user => ' root' ,
62
63
hour => $time [0],
63
64
minute => $time [1],
You can’t perform that action at this time.
0 commit comments