(MODULES-2787) Fixes for future parser

The weekday attribute of cron resource will be parse to negetive integer
with future parser. This patch is aim to ensure that the value types of
cron resouce are valid with future parser.
This commit is contained in:
Liao Penghui 2015-11-05 00:11:15 +08:00
parent 2a8693482f
commit 3694ae2a80
2 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ class mysql::backup::mysqlbackup (
user => 'root',
hour => $time[0],
minute => $time[1],
weekday => 0,
weekday => '0',
require => Package['meb'],
}
@ -72,7 +72,7 @@ class mysql::backup::mysqlbackup (
user => 'root',
hour => $time[0],
minute => $time[1],
weekday => 1-6,
weekday => '1-6',
require => Package['meb'],
}

View file

@ -32,7 +32,7 @@ class mysql::backup::xtrabackup (
user => 'root',
hour => $time[0],
minute => $time[1],
weekday => 0,
weekday => '0',
require => Package['percona-xtrabackup'],
}
@ -42,7 +42,7 @@ class mysql::backup::xtrabackup (
user => 'root',
hour => $time[0],
minute => $time[1],
weekday => 1-6,
weekday => '1-6',
require => Package['percona-xtrabackup'],
}