Feature #32741

add merge-option for variables of type "yaml" (Ansible/Salt/Puppet)

Added by Jonas Tr├╝stedt over 1 year ago. Updated over 1 year ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


Currently for the different variable-types in Puppet/Ansible/Salt only Arrays and Hashes support the Option to Merge (Merge, Merge-with-default, Merge-remove-duplicates).
Depending on how you define your variables, you might want to use other types as well.

For example if you build a puppet-class where you declare only one variable of type "yaml" to reduce the amount of variables and to define everything you need per class in just one variable. In this case you often end up that in certain environments/matchers you want to add something without having to copy&paste everything. In this case a merge-option for "yaml" would be great.

Since in the current case it is puppet, it applies to salt and ansible as well (and maybe other? Host-parameter?) and it might be useful as well for other types, such as "json".
For this I put it in the general foreman-project and not three times for the different configuration-management-plugins.

Associated revisions

Revision 16226afc (diff)
Added by Bernhard Suttner over 1 year ago

Fixes #32741 - Allow merge for yaml/json variables


#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Bernhard Suttner
  • Status changed from New to Ready For Testing
  • Pull request added

#2 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.0.0 added

#3 Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker over 1 year ago

  • Category set to Parameters

Also available in: Atom PDF