Merge pull request #371 from mr-tron/master
Changed testing variables in init.pp
This commit is contained in:
commit
91e92e711c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class nginx (
|
|||
validate_string($proxy_buffers)
|
||||
validate_string($proxy_buffer_size)
|
||||
if ($http_cfg_append != false) {
|
||||
if !is_hash($http_cfg_append) or !is_array($http_cfg_append) {
|
||||
if !(is_hash($http_cfg_append) or is_array($http_cfg_append)) {
|
||||
fail('$http_cfg_append must be either a hash or array')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue