Skip to content

Commit dfbfe08

Browse files
authored
(GH-1516) Update sql to use array
Prior to this commit the db example shows a String however it is an optional array. This commit updates the example from a String to an array.
1 parent cee10e6 commit dfbfe08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ mysql::db { 'mydb':
143143
password => 'mypass',
144144
host => 'localhost',
145145
grant => ['SELECT', 'UPDATE'],
146-
sql => '/path/to/sqlfile.gz',
146+
sql => ['/path/to/sqlfile.gz'],
147147
import_cat_cmd => 'zcat',
148148
import_timeout => 900,
149149
mysql_exec_path => '/opt/rh/rh-myql57/root/bin',

0 commit comments

Comments
 (0)