Project

General

Profile

Actions

Feature #13402

closed

Foreman Parameters & Salt Multilevel Pillars

Added by Alex Smith almost 9 years ago. Updated almost 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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')) %}


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #4127: Array, Boolean and other types support in "hostgroup parameters"ClosedKavita GaikwadActions
Actions

Also available in: Atom PDF