Project

General

Profile

Feature #1128

Ability to match on Parameters in Smart Variables

Added by Greg Sutcliffe over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Variables
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Presently it is only possible to match on Facts or internal Foreman information when creating a Smart Variable inside a class. I don;t really see any difference between a Fact and a Parameter, since one is a piece of information discovered by the host, and one is a piece of information specified by the admin. Both should be able to be acted upon.

Thus, I'd like to be able to match on Parameters, rather than writing clunky Puppet code which deploys the paramter to a file so it can be read as a fact :)

Associated revisions

Revision 8ea536e3 (diff)
Added by Ohad Levy over 7 years ago

fixes #1128 - Ability to match on Parameters in Smart Variables

Revision d78436d6 (diff)
Added by Ohad Levy over 7 years ago

refs #1128 - ensure that parameters cache is cleared between tests

History

#1 Updated by Ohad Levy over 7 years ago

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

#2 Updated by Ohad Levy over 7 years ago

  • Category set to Smart Variables
  • Assignee set to Ohad Levy
  • Target version set to 0.4

Also available in: Atom PDF