Following the long discussion in Provisioning Templates / Testing & Separate Repository, and now that 2.1 has been released, I will be archiving the community templates repository tomorrow.
How should changes to templates be handled going forward?
- Provisioning templates, partition tables and report templates will all live in Foreman core repository, under app/views/unattended folder. PRs can be submitted normally to develop branch as well as to stable branches when needed for backports. Note that from now we will require redmine issues for all changes, as this will allow us to better control what template changes have been released in each version of Foreman. If the template change leads to change in the snapshot,
rake snapshots:generate RAILS_ENV=testcan be used to update the snapshot accordingly.
- Remote execution job templates will reside in either the Remote Execution plugin for generic ssh templates, or in another plugin that adds them. For example, templates for the Ansible REX provider will reside in the Ansible plugin, while templates for Katello actions will reside in the Katello plugin.