Project

General

Profile

Actions

Feature #832

closed

parameterized class support

Added by Ashley Penney about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

http://projects.puppetlabs.com/issues/5045 is the ticket for this.

Basically I think the UI should be updated so that when you select a class it either gives you the parameters directly below or creates new boxes (like the existing parameters one) below that list:

Class name:
Parameter name [ box to type in ]
Parameter name 2 [ box to type in ]


Related issues 3 (0 open3 closed)

Related to Foreman - Feature #1165: Host details should display inherited hostgroup parameterClosedAmos Benari09/13/2011Actions
Related to Foreman - Feature #1028: Ability to edit custom fields in the host edit pageClosedAmos Benari07/06/2011Actions
Related to Foreman - Feature #1995: Enable parameterized class support by defaultClosedDominic Cleal12/04/2012Actions
Actions #1

Updated by Romain Vrignaud almost 13 years ago

+1 It would be very usefull !

Actions #2

Updated by Ignace Mouzannar over 12 years ago

I agree, this would be greatly useful.

I there a way to take advantage of puppet's parameterized classes via Foreman's ENC (even if it isn't supported in GUI yet)?

Actions #3

Updated by Romain Vrignaud over 12 years ago

For me, the use case should be :

  • After importing puppet classes, I should be able to edit class and in a "Parameterized Class" Tab I should be able to add as many paramaters as I want and optional default value for each parameter.
  • When I edit an hostgroup and I add a parameterized class to this hostgroup : it should show under the list class (or in parameter tab ?) the list of declared paramater for that class and I should be able to edit the keys. If I don't set any value then it should be mandatory to be done during host edition.
  • In the same idea, If I add a parameterized class to an host, I should be able to configure the parameterized class in the same way.
  • If one of my host is declared as a member of an hostgroup which include a parameterized class, I should see the value affected in hostgroup. (see Feature #1165)
Actions #4

Updated by James Kerby about 12 years ago

There was an IRC meetup to discuss this issue in December. Does anyone have any feedback on that discussion and whether this will be implemented anytime soon?

Actions #5

Updated by Glen Ogilvie about 12 years ago

Any progress on this? I see that ticket 5045, has been merged, so puppet itself supports parameterized classes from an external node classifier.
Maybe this could go into foreman release 0.5?

Actions #6

Updated by James Kerby about 12 years ago

Yes, we've been kicking our heels waiting for puppet to support this. It would be great in Foreman could get this into 0.5

Actions #7

Updated by Olivier Favre almost 12 years ago

  • Assignee set to Olivier Favre
Actions #8

Updated by Ohad Levy almost 12 years ago

Actions #9

Updated by Ohad Levy over 11 years ago

  • Target version set to 1.1
Actions #10

Updated by Ohad Levy over 11 years ago

  • Category set to Puppet integration
  • Assignee changed from Olivier Favre to Ohad Levy

a more recent hopefully soon to be merged here:

https://github.com/ohadlevy/foreman/tree/class_params

Actions #11

Updated by Amos Benari over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF