Project

General

Profile

Feature #4127

Array, Boolean and other types support in "hostgroup parameters"

Added by Neil Miao almost 5 years ago. Updated 8 days ago.

Status:
Ready For Testing
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Currently "string" is the only parameter type supported in hostgroup parameters on foreman 1.3. Our customers desperately need to put Array and Boolean type of parameters (possibly other types as well) into the hostgroup for better puppet parameter management of they application clusters. Since multiple parameter types are supported in Smart Variables, why the hostgroup parameters (as well host parameter) have to stuck with just one type (string).


Related issues

Related to Foreman - Feature #2753: Addition of Drop Down / Chooseable Parameters with fixed valuesNew2013-07-08
Related to Foreman - Tracker #4470: Usability of parameters and overridesNew

Related to Foreman - Feature #1464: Parameters in subnetsDuplicate2012-01-22
Related to Foreman - Feature #4318: Add editable description field for host parameterNew2014-02-11
Related to Foreman - Bug #5204: support class parameters at the domain and OS levels.New2014-04-15
Related to Foreman - Tracker #12950: Turn all parameters into lookup keysNew2015-12-28

Related to Salt - Feature #13402: Foreman Parameters & Salt Multilevel PillarsDuplicate2016-01-27
Has duplicate Foreman - Feature #5203: Custom facts in foremanDuplicate2014-04-15
Has duplicate Foreman - Bug #5170: Global parameters can only be stringsDuplicate2014-04-11
Has duplicate Foreman - Bug #20617: global variables: set the typeDuplicate2017-08-16
Blocks Katello - Feature #13963: Support multiple SSH keys in Katello cloud-initNew2016-02-29

History

#1 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) deleted (1)

We have talked about replacing general parameters with the smart variables implementation at some point, but obviously removing the association to Puppet classes. It might not be exactly what you need, but it is possible use smart class parameters and override them from the host group and host edit pages.

#2 Updated by Alejandro Falcon almost 5 years ago

I was going to open a new issue about this when I found this one. I like using smart class parameters as you mention but I use Example42 modules which have a nice feature to keep the original modules up to date and it is a my_class parameter on each module that allow me to add a desired custom class as a parameter in foreman and obviously I can't use smart class parameters with them so I have to use global parameters for these custom classes. It would be great to have all data types working on global params as in smart class parameters.

#3 Updated by Neil Miao almost 5 years ago

ideally, we should use smart class parameters, but the reality is that
we have too many legacy home-baked modules (hundreds, if not
thousands) lying in our puppet code-based that it might take us months
to refactor them to the proper parameterized classes.

I certainly hope adding this feature to Foreman is quicker than that.

#4 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #2753: Addition of Drop Down / Chooseable Parameters with fixed values added

#5 Updated by Dominic Cleal over 4 years ago

  • Related to Tracker #4470: Usability of parameters and overrides added

#6 Updated by Dominic Cleal over 4 years ago

#7 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #4318: Add editable description field for host parameter added

#8 Updated by Stephen Benjamin over 4 years ago

  • Related to Bug #5170: Global parameters can only be strings added

#9 Updated by Dominic Cleal over 4 years ago

#10 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #5204: support class parameters at the domain and OS levels. added

#11 Updated by Tom Caspy over 3 years ago

  • Related to deleted (Bug #5170: Global parameters can only be strings)

#12 Updated by Tom Caspy over 3 years ago

  • Has duplicate Bug #5170: Global parameters can only be strings added

#13 Updated by Ori Rabin almost 3 years ago

  • Related to Tracker #12950: Turn all parameters into lookup keys added

#14 Updated by Stephen Benjamin almost 3 years ago

  • Related to Feature #13402: Foreman Parameters & Salt Multilevel Pillars added

#15 Updated by Stephen Benjamin over 2 years ago

  • Blocks Feature #13963: Support multiple SSH keys in Katello cloud-init added

#16 Updated by Tomer Brisker over 1 year ago

  • Has duplicate Bug #20617: global variables: set the type added

#17 Updated by stachu dev about 1 year ago

What is the detailed status of this ticket?
Is it going to be resolved anytime?

#18 Updated by Kavita Gaikwad about 1 year ago

  • Target version set to 1.15.6

#19 Updated by Kavita Gaikwad about 1 year ago

  • Assignee set to Kavita Gaikwad

#20 Updated by Kavita Gaikwad about 1 year ago

  • Target version changed from 1.15.6 to 230

#21 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5241 added

#22 Updated by Kavita Gaikwad 5 months ago

  • Bugzilla link set to 1402136

Also available in: Atom PDF