Skip to content

Commit

Permalink
Optional params with defaults don't do what I'd expect (voxpupuli#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
William Yardley committed Oct 2, 2017
1 parent f33f712 commit a963b15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
2 changes: 1 addition & 1 deletion manifests/resource/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit a963b15

Please sign in to comment.