Change list passed into validate_re to a stringe
The list was causing a syntax error on puppet puppet 2.6.17
This commit is contained in:
parent
bfd19998d1
commit
06fe2fdbd2
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