Project

General

Profile

Actions

Feature #10862

closed

ConfigTemplate was renamed to ProvisioningTemplate in Foreman 1.9

Added by Marek Hulán almost 9 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Provisioning templates
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Hammer has some commands that uses old names, e.g. hammer organization add-config-template. While APIv2 will support old name we should allow using new names (in V3 this would be the only way).

Actions #1

Updated by Tomáš Strachota over 6 years ago

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

This issue has been partially fixed in some commands on the option level. Eg. hammer os update now offers both --config-template[s|-ids] and --provisioning-template[s|-ids].

Next steps should be:
  1. rename all add/remove-config-template to provisioning template, while keeping the old names as aliases with deprecation warning
  2. make sure relevant commands accept --provisioning-template[s|-ids]
  3. hide --config-template[s|-ids] from commands and add a deprecation warning when it's used
  4. document which commands contain the legacy behavior and file an issue for removing it in future
Actions #2

Updated by Shira Maximov over 4 years ago

  • Status changed from New to Duplicate
  • Assignee set to Shira Maximov
Actions

Also available in: Atom PDF