validate all arrays
This commit is contained in:
parent
59cf9148c2
commit
354a68ef63
3 changed files with 7 additions and 0 deletions
|
@ -121,6 +121,8 @@ define nginx::resource::location (
|
|||
mode => '0644',
|
||||
notify => Class['nginx::service'],
|
||||
}
|
||||
|
||||
validate_array($index_files)
|
||||
|
||||
# # Shared Variables
|
||||
$ensure_real = $ensure ? {
|
||||
|
|
|
@ -64,6 +64,8 @@ define nginx::resource::mailhost (
|
|||
group => 'root',
|
||||
mode => '0644',
|
||||
}
|
||||
|
||||
validate_array($server_name)
|
||||
|
||||
# Add IPv6 Logic Check - Nginx service will not start if ipv6 is enabled
|
||||
# and support does not exist for it in the kernel.
|
||||
|
|
|
@ -140,6 +140,9 @@ define nginx::resource::vhost (
|
|||
|
||||
validate_array($location_allow)
|
||||
validate_array($location_deny)
|
||||
validate_array($proxy_set_header)
|
||||
validate_array($index_files)
|
||||
validate_array($server_name)
|
||||
|
||||
File {
|
||||
ensure => $ensure ? {
|
||||
|
|
Loading…
Reference in a new issue