Project

General

Profile

Actions

Refactor #16426

closed

Update Job Templates and import code to use new features in foreman_templates

Added by Greg Sutcliffe almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
CLI
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman_templates now supports calling out to other plugins for import methods, via a "model" attribute in the metadata.

Unfortunately, (because I didn't check first :P) REx already has import{,!} methods, so I propose using a shim class to handle the translation between what foreman_templates expects and what the current methods expect.

Actions

Also available in: Atom PDF