Skip to content

Commit fc0237f

Browse files
committed
Fix backup optional_args.
See: puppetlabs#1665
1 parent c34311e commit fc0237f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/mysqlbackup.sh.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ADDITIONAL_OPTIONS="$ADDITIONAL_OPTIONS --skip-routines"
5656
<% } -%>
5757
<% } -%>
5858

59-
<%- if $optional_args and type($optional_args) =~ Type(Array) { -%>
59+
<%- if $optional_args and type($optional_args) =~ Type[Array] { -%>
6060
<% $optional_args.each |$arg| { -%>
6161
ADDITIONAL_OPTIONS="$ADDITIONAL_OPTIONS <%= $arg %>"
6262
<%- } -%>

0 commit comments

Comments
 (0)