Closed
Description
Describe the Change You Would Like
Following current examples and documentation leads to an error:
Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Mysql::Db[apel]: parameter 'sql' expects a value of type Undef or Array, got String
→ documentation related to the sql parameter is incorrect.
manifests/db.pp
# @param sql
# The path to the sqlfile you want to execute. This can be an array containing one or more file paths.
→ needs to be an array of one or more files (or undef) - not sure about correct phrasing.
README.md
mysql::db { 'mydb':
...
sql => '/path/to/sqlfile.gz',
...
}
needs to be
mysql::db { 'mydb':
...
sql => ['/path/to/sqlfile.gz'],
...
}