*** The wcm.io Project is closing down this JIRA Instance in favor of GitHub issues. ***
Please use the corresponding GitHub projects to report issues - or the mailing list for general discussion.
variants: [services, importer]
...
config:
tomcat: {path: /path/to/tomcat} (the global default)
and not:
config:
tomcat: {path: /path/to/tomcat_importer}
it works however if you switch the order of the variants to be [ importer , services ]. I would expect the configuration values of all variants to be merged into the final configuration in the order of the variant declaration in the environment.
If you have a role with multiple variants, the configuration of all but the first variant are not accounted for in the final model.
Take this variants definition in a role
tomcat-services(from the examples)variants: - variant: services - variant: importer config: tomcat: path: /path/to/tomcat_importerand this environment definition:
- node: services-2 roles: - role: tomcat-services variants: - services - importerand you'll get this in the model:
variants: [services, importer] ... config: tomcat: {path: /path/to/tomcat} (the global default)and not:
config: tomcat: {path: /path/to/tomcat_importer}it works however if you switch the order of the variants to be [ importer , services ].
I would expect the configuration values of all variants to be merged into the final configuration in the order of the variant declaration in the environment.