Project

General

Profile

Actions

Bug #11594

closed

Snippets don't work for job templates

Added by Stephen Benjamin over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

This causes an error:

  <%= snippet "foo" %>

If we won't support them, we should hide mentions of them from the forms if we can.

Actions #1

Updated by Ivan Necas over 8 years ago

Ideally, we should add support for inputs for snippets as well: let's say I have a snippet for foreman-installer, I can imaging many template variants, all calling this snippet, just tweaking just inputs (such as list of plugins to install)

Actions #2

Updated by Marek Hulán over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Marek Hulán

Ivan, would you mind raising this as a separate RFE with few examples? IIRC we discussed new helper that would allow to include also other templates (not just snippets).

Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 87
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/49 added
  • Pull request deleted ()
Actions #4

Updated by Marek Hulán over 8 years ago

  • translation missing: en.field_release set to 95
Actions #5

Updated by Marek Hulán over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF