File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9985,7 +9985,7 @@ Default value: `undef`
9985
9985
9986
9986
##### <a name =" -apache--vhost--directories " ></a >` directories `
9987
9987
9988
- Data type: ` Optional[ Array[Hash] ]`
9988
+ Data type: ` Array[Hash] `
9989
9989
9990
9990
The ` directories ` parameter within the ` apache::vhost ` class passes an array of hashes
9991
9991
to the virtual host to create [ Directory] ( https://httpd.apache.org/docs/current/mod/core.html#directory ) ,
@@ -10111,7 +10111,7 @@ and others.
10111
10111
}
10112
10112
```
10113
10113
10114
- Default value: `undef `
10114
+ Default value: `[] `
10115
10115
10116
10116
##### <a name="-apache--vhost--custom_fragment"></a>`custom_fragment`
10117
10117
Original file line number Diff line number Diff line change 1778
1778
Boolean $use_servername_for_filenames = false ,
1779
1779
Boolean $use_port_for_filenames = false ,
1780
1780
Array[Hash[String[1], String[1]]] $aliases = [],
1781
- Optional[ Array[Hash]] $directories = undef ,
1781
+ Array[Hash] $directories = [] ,
1782
1782
Boolean $error_log = true ,
1783
1783
Optional[String] $error_log_file = undef ,
1784
1784
Optional[String] $error_log_pipe = undef ,
2152
2152
}
2153
2153
2154
2154
# # Create a default directory list if none defined
2155
- if $directories {
2155
+ if !empty( $directories ) {
2156
2156
$_directories = $directories
2157
2157
} elsif $docroot {
2158
2158
$_directories = [
You can’t perform that action at this time.
0 commit comments