Project

General

Profile

Feature #1987

Ability to specify meta-parameters on classes, e.g. run stage

Added by Dominic Cleal about 9 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

The run stage of a class can be specified in the ENC output simply as another parameter of the class (tested on 2.7.19), e.g.

test: 
stage: foo

Currently Foreman only lets you specify declared parameters of a Puppet class in smart parameters, but this should be extended to include known meta-parameters such as "stage". This would allow a user to set the run stage of a class from within Foreman (or tags, noop etc).

History

#1 Updated by Andrew Cooper over 6 years ago

Any update on this? It seems the only way we can do this cleanly with foreman is to create wrapper classes which make the puppetry code base messy

#2 Updated by Ori Rabin about 6 years ago

  • Description updated (diff)
  • Assignee deleted (Ohad Levy)

#3 Updated by Ondřej Pražák over 4 years ago

  • Bugzilla link set to 1276560

Also available in: Atom PDF