Project

General

Profile

Feature #4127

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

Added by Neil Miao about 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
-
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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
Related to Hammer CLI - Feature #26008: key type for ParametersClosed
Related to Foreman - Bug #27631: foreman-rake db:migrate fails with hidden parametersRejected
Related to Foreman - Bug #27745: rails db:migrate fails while running upgradeClosed
Related to Foreman - Bug #28129: Parameters get converted from type string to boolean including the valueClosed
Related to Foreman - Bug #1971: Add complex data to parametersResolved
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
Has duplicate Foreman - Feature #20618: global variables: set the typeResolved
Blocks Katello - Feature #13963: Support multiple SSH keys in Katello cloud-initNew2016-02-29

Associated revisions

Revision 62f2fd88 (diff)
Added by Kavita Gaikwad about 4 years ago

Fixes #4127 - Global Parameters with types (#5241)

Revision f1a4d76b (diff)
Added by Ondřej Pražák about 4 years ago

Refs #4127 - Toggle key type select based on override (#6506)

History

#1 Updated by Dominic Cleal about 9 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 about 9 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 about 9 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 about 9 years ago

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

#5 Updated by Dominic Cleal about 9 years ago

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

#6 Updated by Dominic Cleal about 9 years ago

#7 Updated by Dominic Cleal about 9 years ago

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

#8 Updated by Stephen Benjamin almost 9 years ago

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

#9 Updated by Dominic Cleal almost 9 years ago

#10 Updated by Dominic Cleal almost 9 years ago

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

#11 Updated by Tom Caspy about 8 years ago

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

#12 Updated by Tom Caspy about 8 years ago

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

#13 Updated by Ori Rabin about 7 years ago

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

#14 Updated by Stephen Benjamin about 7 years ago

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

#15 Updated by Stephen Benjamin almost 7 years ago

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

#16 Updated by Tomer Brisker over 5 years ago

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

#17 Updated by stachu dev over 5 years ago

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

#18 Updated by Kavita Gaikwad over 5 years ago

  • Target version set to 1.15.6

#19 Updated by Kavita Gaikwad over 5 years ago

  • Assignee set to Kavita Gaikwad

#20 Updated by Kavita Gaikwad over 5 years ago

  • Target version changed from 1.15.6 to 230

#21 Updated by The Foreman Bot about 5 years ago

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

#22 Updated by Kavita Gaikwad almost 5 years ago

  • Bugzilla link set to 1402136

#23 Updated by Kavita Gaikwad about 4 years ago

#24 Updated by Marek Hulán about 4 years ago

  • Triaged set to No
  • Fixed in Releases 1.22.0 added

#25 Updated by Kavita Gaikwad about 4 years ago

  • Status changed from Ready For Testing to Closed

#26 Updated by The Foreman Bot about 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/6506 added

#27 Updated by Tomer Brisker almost 4 years ago

  • Category set to Host groups

#28 Updated by Tomer Brisker over 3 years ago

  • Related to Bug #27631: foreman-rake db:migrate fails with hidden parameters added

#29 Updated by Kavita Gaikwad over 3 years ago

  • Related to Bug #27745: rails db:migrate fails while running upgrade added

#30 Updated by Tomer Brisker over 3 years ago

  • Related to Bug #28129: Parameters get converted from type string to boolean including the value added

#31 Updated by Tomer Brisker over 3 years ago

#32 Updated by Tomer Brisker over 3 years ago

  • Related to Bug #1971: Add complex data to parameters added

Also available in: Atom PDF