Closed
Description
To give a concrete example from nginx-formula:
{{ files_switch([server, 'server.conf'],
'server_conf_file_managed'
)
}}
On any given host, I may have many managed server
values. Therefore, it's important that it's possible to use the dynamic server
filename.
If I configure nginx.tofs.source_files.server_conf_file_managed
to, e.g. default.conf
, I expect this to be appended to the list of files that get looked for.
However instead, nginx-formula will now only look for default.conf
, removing the ability to have multiple servers per host.
My expectation is that setting server_conf_file_managed adds a cascading override - i.e. it appends to the beginning of the list of file names to look for, not overrides the full existing list.