Project

General

Profile

Feature #8142

As a user I would like remote command scripts to leverage smart variables

Added by David Caplan over 3 years ago. Updated about 2 years ago.

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

Description

Foreman provides a general purpose smart variable facility to inform kickstarts, snippets, and puppet modules. This user story expresses the desire to extend the concept of smart variables to remote-execution scripting. Examples of smart variables might include the FQHN of the target system, the environment, the location, the presence or absence of a given FACT.


Related issues

Related to Foreman Remote Execution - Feature #15371: Provide OS detection macros for (job) templatesNew2016-06-10

History

#1 Updated by David Caplan over 3 years ago

#2 Updated by Dominic Cleal about 2 years ago

  • Project changed from Foreman to Foreman Remote Execution
  • Category deleted (Smart Variables)

#3 Updated by Marek Hulán about 2 years ago

we are only missing the environment and the location as template inputs but it can be easily obtained via @host.location and @host.environment. We should formalize this on input level, possibly also os. Or introduce new macros for this.

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

  • Related to Feature #15371: Provide OS detection macros for (job) templates added

#5 Updated by Marek Hulán about 2 years ago

Also available in: Atom PDF