tripleo-heat-templates/releasenotes/notes/merge_keys_from_services-cd17425d58b49840.yaml
Giulio Fidente 8a8ad26435 Merge values for same key from multiple services
This should merge multiple and different values for the same key
found in different services.

For example, assuming two services defining a key as follows:

  config_settings:
    mykey:
    - val1

  config_settings:
    mykey:
    - val2
    - val3

the content of the key, as seen by ansible or puppet on the nodes,
will be:

  mykey: ['val1','val2','val3']

Change-Id: I190374e36ad1a2b57611a3a9d0a52ceb1a049aff
2018-05-22 18:20:43 +02:00

22 lines
501 B
YAML

---
features:
- |
It is now possible to specify values for any key in `config_settings`
from multiple services; multiple values will be merged using YAQL
mergeWith() function. For example, assuming two services defining
a key as follows:
config_settings:
mykey:
- val1
config_settings:
mykey:
- val2
- val3
the content of the key, as seen by ansible or puppet on the nodes,
will be:
mykey: ['val1','val2','val3']