Project

General

Profile

Actions

Bug #34504

closed

Add support to template_kind_id when importing provisioning template

Added by Adi Abramovitch about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:
Actions #1

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9122 added
Actions #2

Updated by Adi Abramovitch about 2 years ago

when importing a provisioning template we don't take template_kind_id into consideration.
we should:
fix the bug of saving the template if the template is valid
get the template_kind name from the metadata, find the id and place it in template_kind_id
we should validate two things:
that the name given and the name in the metadata match and that if the template is a snippet it shouldn't have a template_kind defined.

Actions #3

Updated by Adi Abramovitch about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF