Skip to content

Commit

Permalink
Update init.pp
Browse files Browse the repository at this point in the history
Bad logic for type validate.
  • Loading branch information
mr-tron committed Jul 2, 2014
1 parent e270b76 commit 15eff7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Expand Up @@ -162,7 +162,7 @@
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')
}
}
Expand Down

0 comments on commit 15eff7a

Please sign in to comment.