diff --git a/manifests/resource/location.pp b/manifests/resource/location.pp index d44d1978a..dfda26115 100644 --- a/manifests/resource/location.pp +++ b/manifests/resource/location.pp @@ -159,7 +159,7 @@ String $server = undef, Optional[String] $www_root = undef, Optional[String] $autoindex = undef, - Optional[Array] $index_files = [ + Array $index_files = [ 'index.html', 'index.htm', 'index.php'], diff --git a/manifests/resource/server.pp b/manifests/resource/server.pp index 01ed164c9..a97db3f46 100644 --- a/manifests/resource/server.pp +++ b/manifests/resource/server.pp @@ -200,7 +200,7 @@ Optional[String] $uwsgi = undef, Optional[String] $uwsgi_params = "${nginx::config::conf_dir}/uwsgi_params", Optional[String] $uwsgi_read_timeout = undef, - Optional[Array] $index_files = [ + Array $index_files = [ 'index.html', 'index.htm', 'index.php'],