Project

General

Profile

Feature #22692

Template importing

Added by Lukas Zapletal over 4 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Provisioning templates
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Foreman allows exporting of templates, it should also provde a way to import them.


Related issues

Related to Foreman - Feature #22358: Template importingClosed2018-01-22

Associated revisions

Revision 55d80e00 (diff)
Added by Adi Abramovich 3 months ago

Fixes #22692 - Add template import and partition-table import commands (#596)

History

#1 Updated by Lukas Zapletal over 4 years ago

#2 Updated by Tomáš Strachota about 4 years ago

  • Category changed from Foreman commands (obsolete) to Provisioning templates

#3 Updated by Adi Abramovitch 6 months ago

  • Assignee set to Adi Abramovitch

#4 Updated by Marek Hulán 5 months ago

FTR, importing the content of the template is possible (below the editor field, you can upload the file). If you're interested in import with the metadata, the logic is in foreman_templates plugin. It may be worth taking it from there and keep the plugin just for the actual git/FS interaction.

#5 Updated by Lukas Zapletal 4 months ago

  • Triaged changed from No to Yes
  • Status changed from New to Closed

I really do not remember what I meant by this issue, clearly the templates plugin has been merged into core and it provides importing and exporting. I guess I am closing this one.

#6 Updated by Lukas Zapletal 4 months ago

  • Status changed from Closed to New

Oh its HAMMER project, that might be still valid.

#7 Updated by Marek Hulán 4 months ago

Templates plugin was not merged to the core. It's still there and is useful for doing the bulk import of a git repo. Also it allows to parse the metadata and do the template association, comparing to the importing functionality that exists in the core.

#8 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/596 added

#9 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-3.3.0 added

#10 Updated by Anonymous 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF