Based on popularity of the same feature in remote execution that allows to share templates easily, there's no reason why not the introduce the same in core. Especially with API, it's possible to script exporting to some repo. Also this will help foreman_temples exporting feature greatly.
Created from redmine issue http://projects.theforeman.org/issues/17403
Upstream bug assigned to mhulan
Reproducing steps: 1. go to Host -> Provisioning Templates 2. In actions column, choose export for any template 3. verify you can download it The same works for any template kind. Note that metadata of a template are generated based on template attributes. Exporting requires view permission. Exporting is also available through API.
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17623 has been resolved.
Templates exports fine in the UI. I am able to dump templates via CLI. [root@zzzap ~]# hh template dump --name "Alterator default PXELinux" <%# kind: PXELinux name: Alterator default PXELinux oses: - ALTLinux p6 - ALTLinux p7 -%> ... That provides the same feature. [root@zzzap ~]# rpm -q foreman katello foreman-1.15.2-1.el7sat.noarch katello-3.4.4-2.el7sat.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. > > For information on the advisory, and where to find the updated files, follow the link below. > > If the solution does not work for you, open a new bug report. > > https://access.redhat.com/errata/RHSA-2018:0336