Add support for IndexHeadInsert for directories#2542
Add support for IndexHeadInsert for directories#2542trefzer wants to merge 1 commit intopuppetlabs:mainfrom
IndexHeadInsert for directories#2542Conversation
IndexHeadInsert for directories
|
This option is also availabile in the global server config and virtual hosts. Do you want to add the corresponding parameters to this PR? |
|
@smortex there is no need to add this as a parameter to init.pp or vhost.pp since it is a value in the directory hash. (or do I missunderstand youre statement ?) But another thing, that I realized, is that the options are only applied for provider == Directory (templates/vhost/_directories.erb line 33) which I think is wrong (at least the Index options seem to work for provider == Location on apache but not in puppet). |
I am referring to https://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexheadinsert, more specifically:
I understand that you can also set this at the vhost or server level so that you do not need to repeat the configuration for each directory. It may make sense to add another new parameter to both the
I am not sure to follow. |
Summary
add option IndexHeadInsert for directories
Additional Context
Option was missing ;)
Related Issues (if any)