Project

General

Profile

Bug #19999

Support for associating multiple provisioning templates at once

Added by Tomáš Strachota almost 3 years ago. Updated 4 months ago.

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

Description

hammer os add-config-template allows to add templates only one by one. Allowing to set more templates at once would make it easier to use the command.

Current usage:

hammer os add-config-template -h
Usage:
    hammer os add-config-template [OPTIONS]

Options:
 --config-template CONFIG_TEMPLATE_NAME  Name to search by
 --config-template-id CONFIG_TEMPLATE_ID  
 --id ID                                  
 --title TITLE                           Operating system title
 -h, --help                              print help

Expected usage:

hammer os add-config-template -h
Usage:
    hammer os add-config-template [OPTIONS]

Options:
 --config-templates    NAMES  Names of templates
 --config-template-ids IDS    IDs of templates
 --id ID                                  
 --title TITLE                Operating system title
 -h, --help                   print help

At the same time we need to keep backward compatibility and accept the old options with a deprecation warning.

One extra feature could be a search field, that would associate all matching templates:

hammer os add-config-template --title 'RedHat 7' --config-template-search="Kickstart*" 


Related issues

Related to Hammer CLI - Tracker #2823: Tracker for usability issuesClosed

Related to Hammer CLI - Feature #28836: Allow multiple disassociating of provisioning templatesAssigned
Related to Hammer CLI - Bug #29231: Search options have result limitsNew

Associated revisions

Revision 497ebe1e (diff)
Added by Yifat Makias 4 months ago

Fixes #19999 - support associating multiple provisioning templates (#484)

History

#1 Updated by Tomáš Strachota almost 3 years ago

#2 Updated by Tomáš Strachota almost 3 years ago

  • Description updated (diff)

#3 Updated by Shira Maximov 6 months ago

  • In Kanboard set to yes
  • Triaged set to No

#4 Updated by yifat makias 5 months ago

  • Assignee set to yifat makias
  • Status changed from New to Assigned

#5 Updated by The Foreman Bot 5 months ago

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

#6 Updated by Shira Maximov 4 months ago

  • Triaged changed from No to Yes

#7 Updated by Oleh Fedorenko 4 months ago

  • Related to Feature #28836: Allow multiple disassociating of provisioning templates added

#8 Updated by The Foreman Bot 4 months ago

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

#9 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

#10 Updated by Oleh Fedorenko 3 months ago

  • Related to Bug #29231: Search options have result limits added

Also available in: Atom PDF