Project

General

Profile

Actions

Bug #19999

closed

Support for associating multiple provisioning templates at once

Added by Tomáš Strachota almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Provisioning templates
Target version:
-
Difficulty:
Triaged:
Yes
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 3 (1 open2 closed)

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

Actions
Related to Hammer CLI - Feature #28836: Allow multiple disassociating of provisioning templatesClosedyifat makiasActions
Related to Hammer CLI - Bug #29231: Search options have result limitsNewActions
Actions #1

Updated by Tomáš Strachota almost 7 years ago

Actions #2

Updated by Tomáš Strachota almost 7 years ago

  • Description updated (diff)
Actions #3

Updated by Shira Maximov over 4 years ago

  • Triaged set to No
  • In Kanboard set to yes
Actions #4

Updated by yifat makias over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to yifat makias
Actions #5

Updated by The Foreman Bot over 4 years ago

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

Updated by Shira Maximov about 4 years ago

  • Triaged changed from No to Yes
Actions #7

Updated by Oleh Fedorenko about 4 years ago

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

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases hammer-cli-foreman-0.20.0 added
Actions #9

Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #10

Updated by Oleh Fedorenko about 4 years ago

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

Also available in: Atom PDF