Merge pull request #105 from derekhiggins/update-validate_re
Change list passed into validate_re to a stringe
This commit is contained in:
commit
606e7c5cbd
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ define mysql::db (
|
|||
$ensure = 'present'
|
||||
) {
|
||||
|
||||
validate_re($ensure, [ '^present$', '^absent$' ],
|
||||
validate_re($ensure, '^(present|absent)$',
|
||||
"${ensure} is not supported for ensure. Allowed values are 'present' and 'absent'.")
|
||||
|
||||
database { $name:
|
||||
|
|
Loading…
Reference in a new issue