Request #3522
Mix context values in onetemplate instantiate
Status: | Pending | Start date: | 01/22/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Core & System | |||
Target version: | - | |||
Pull request: |
Description
In onetemplate instantiate
you can pass a new template that will be mixed with the original one. It substitutes the original values with the values in the new template, or adds them if they don't exists. The new behaviour should mix the vector values with the old ones. For example:
Original template:
CONTEXT = [ NETWORK = "YES", CHEF_SERVER = "10.0.0.1" ]
Instantiate template:
CONTEXT = [ MYSQL_SERVER = "10.0.0.1" ]
The result should be:
CONTEXT = [ MYSQL_SERVER = "10.0.0.1", NETWORK = "YES", CHEF_SERVER = "10.0.0.1" ]