Feature #13402
closedForeman Parameters & Salt Multilevel Pillars
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')) %}
Updated by Dominic Cleal almost 9 years ago
- Project changed from Foreman to Salt
- Category deleted (
Web Interface)
Updated by Stephen Benjamin almost 9 years ago
- Status changed from New to Duplicate
Basically a dupe of #4127, this is entirely up to Foreman core to support it - and it's coming, hopefully sooner rather than later. Eventually parameters will support complex data like hashes (and merging of hashes down the hierarchy).
There's also http://projects.theforeman.org/issues/8413, which is an eventual goal as well, to support things like attaching particular parameters to particular states, like you can with Smart Variables with Puppet.
Updated by Stephen Benjamin almost 9 years ago
- Related to Feature #4127: Array, Boolean and other types support in "hostgroup parameters" added