Project

General

Profile

Actions

Feature #4127

closed

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

Added by Neil Miao over 10 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
-
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 17 (6 open11 closed)

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

Actions
Related to Foreman - Feature #1464: Parameters in subnetsDuplicateOhad Levy01/22/2012Actions
Related to Foreman - Feature #4318: Add editable description field for host parameterNew02/11/2014Actions
Related to Foreman - Bug #5204: support class parameters at the domain and OS levels.NewJeff Palmer04/15/2014Actions
Related to Foreman - Tracker #12950: Turn all parameters into lookup keysNew12/28/2015

Actions
Related to Salt - Feature #13402: Foreman Parameters & Salt Multilevel PillarsDuplicate01/27/2016Actions
Related to Hammer CLI - Feature #26008: key type for ParametersClosedKavita GaikwadActions
Related to Foreman - Bug #27631: foreman-rake db:migrate fails with hidden parametersRejectedActions
Related to Foreman - Bug #27745: rails db:migrate fails while running upgradeClosedKavita GaikwadActions
Related to Foreman - Bug #28129: Parameters get converted from type string to boolean including the valueClosedKavita GaikwadActions
Related to Foreman - Bug #1971: Add complex data to parametersResolvedActions
Has duplicate Foreman - Feature #5203: Custom facts in foremanDuplicate04/15/2014Actions
Has duplicate Foreman - Bug #5170: Global parameters can only be stringsDuplicate04/11/2014Actions
Has duplicate Foreman - Bug #20617: global variables: set the typeDuplicate08/16/2017Actions
Has duplicate Foreman - Feature #20618: global variables: set the typeResolvedActions
Blocks Katello - Feature #13963: Support multiple SSH keys in Katello cloud-initNew02/29/2016Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Translation missing: en.field_release 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.

Actions #2

Updated by Alejandro Falcon over 10 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.

Actions #3

Updated by Neil Miao over 10 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.

Actions #4

Updated by Dominic Cleal over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

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

Updated by Dominic Cleal over 10 years ago

Actions #7

Updated by Dominic Cleal over 10 years ago

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

Updated by Stephen Benjamin over 10 years ago

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

Updated by Dominic Cleal about 10 years ago

Actions #10

Updated by Dominic Cleal about 10 years ago

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

Updated by Tom Caspy over 9 years ago

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

Updated by Tom Caspy over 9 years ago

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

Updated by Ori Rabin over 8 years ago

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

Updated by Stephen Benjamin over 8 years ago

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

Updated by Stephen Benjamin over 8 years ago

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

Updated by Tomer Brisker almost 7 years ago

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

Updated by stachu dev almost 7 years ago

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

Actions #18

Updated by Kavita Gaikwad over 6 years ago

  • Target version set to 1.15.6
Actions #19

Updated by Kavita Gaikwad over 6 years ago

  • Assignee set to Kavita Gaikwad
Actions #20

Updated by Kavita Gaikwad over 6 years ago

  • Target version changed from 1.15.6 to 230
Actions #21

Updated by The Foreman Bot over 6 years ago

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

Updated by Kavita Gaikwad about 6 years ago

  • Bugzilla link set to 1402136
Actions #23

Updated by Kavita Gaikwad over 5 years ago

Actions #24

Updated by Marek Hulán over 5 years ago

  • Triaged set to No
  • Fixed in Releases 1.22.0 added
Actions #25

Updated by Kavita Gaikwad over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #26

Updated by The Foreman Bot over 5 years ago

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

Updated by Tomer Brisker about 5 years ago

  • Category set to Host groups
Actions #28

Updated by Tomer Brisker almost 5 years ago

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

Updated by Kavita Gaikwad almost 5 years ago

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

Updated by Tomer Brisker over 4 years ago

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

Updated by Tomer Brisker over 4 years ago

Actions #32

Updated by Tomer Brisker over 4 years ago

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

Also available in: Atom PDF