Actions
Feature #13402
closedForeman Parameters & Salt Multilevel Pillars
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
It will be grate, if foreman will be support Salt multilevel pillar names in parameters.
For Example:
open_vm_tools:
lookup:
disabled: False
package: open-vm-tools
service: vmtoolsd
This type of pillar structure is very useful with construction like:
{% set open_vm_tools = salt['grains.filter_by']({
'Debian': {
'package': 'open-vm-tools',
'service': 'vmtools',
},
'RedHat': {
'package': 'open-vm-tools',
'service': 'vmtoolsd',
},
'Arch': {
'package': '...',
'config': '...',
},
}, merge=salt['pillar.get']('open_vm_tools:lookup')) %}
Actions