Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit bc949b8

Browse files
committed
Merge pull request #70 from BlurryFlurry/patch-1
Fixed the error by removing escape character.
2 parents 436db6f + a0057c6 commit bc949b8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

manifests/queryfile.pp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
}
4242

4343
exec { "mysqlqueryfile-${name}":
44-
command => "mysql ${arg_mysql_defaults_file} \
45-
${arg_mysql_user} ${arg_mysql_password} ${arg_mysql_host} \
46-
${mysql_db} < ${mysql_file} && \
47-
touch ${mysql_query_filepath}/mysqlqueryfile-${name}.run",
44+
command => "mysql ${arg_mysql_defaults_file} ${arg_mysql_user} ${arg_mysql_password} ${arg_mysql_host} ${mysql_db} < ${mysql_file} && touch ${mysql_query_filepath}/mysqlqueryfile-${name}.run",
4845
path => [ '/usr/bin' , '/usr/sbin' , '/bin' , '/sbin' ],
4946
creates => "${mysql_query_filepath}/mysqlqueryfile-${name}.run",
5047
unless => "ls ${mysql_query_filepath}/mysqlqueryfile-${name}.run",

0 commit comments

Comments
 (0)