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 #1

Updated by Dominic Cleal almost 9 years ago

  • Project changed from Foreman to Salt
  • Category deleted (Web Interface)
Actions #2

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.

Actions #3

Updated by Stephen Benjamin almost 9 years ago

  • Related to Feature #4127: Array, Boolean and other types support in "hostgroup parameters" added
Actions

Also available in: Atom PDF