Project

General

Profile

Feature #32158

Allow 'feature' option when invoking a job

Added by Jonathon Turel over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Today it's required to first look up a job template ID before being able to use that job template via `hammer job-invocation create`

Today

hammer job-invocation create --job-template-id 150 --search-query='host.example.com' --inputs 'package=vim'

Desired

hammer job-invocation create --feature=katello_package_install --search-query='host.example.com' --inputs 'package=vim'

This makes the process one step and users can start to become familiar with the particular feature names which (ideally) are named well enough to be guessable similar to 'hammer host package install'


Related issues

Is duplicate of Foreman Remote Execution - Feature #32107: Hammer job invocation creation does not allow to use --feature for the job template lookupClosed
Blocks Katello - Tracker #32155: Deprecate agent-based APIs and Hammer commandsClosed

Blocks Katello - Feature #32157: Deprecate agent-based Hammer commandsClosed

History

#1 Updated by Jonathon Turel over 1 year ago

  • Blocks Tracker #32155: Deprecate agent-based APIs and Hammer commands added

#2 Updated by Jonathon Turel over 1 year ago

#3 Updated by Adam Ruzicka over 1 year ago

  • Is duplicate of Feature #32107: Hammer job invocation creation does not allow to use --feature for the job template lookup added

#4 Updated by Jonathon Turel over 1 year ago

  • Status changed from New to Closed

Also available in: Atom PDF