Project

General

Profile

Bug #24490

Provide description for Hammer command to disable/enable notifications for a host.

Added by Marek Hulán about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Hosts
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Found in Releases:

Description

Hammer overrides flags help, not respecting what API has defined.


Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1443804

Description of problem:

There is not hammer command to enable/disable notifications
for a particular host.

This feature is available in GUI:
1) Hosts > All Hosts > Tick host >Select Action > Disable Notification
2) Hosts > All Hosts > Tick host >Select Action > Enable Notification

How reproducible:
#hammer host update --help
#hammer host create --help

Actual results:
No option available to enable/disable notifications for a host via hammer cli.

Expected results:
#hammer host update --name <hostname> --notifications <enable/disable>


Related issues

Copied from Foreman - Feature #19383: Provide description for Hammer command to disable/enable notifications for a host.Closed2017-04-26

Associated revisions

Revision 8e6aea6e (diff)
Added by Marek Hulán about 2 months ago

Fixes #24490 - stop overriding apipie help for host flags (#380)

History

#1 Updated by Marek Hulán about 2 months ago

  • Copied from Feature #19383: Provide description for Hammer command to disable/enable notifications for a host. added

#2 Updated by Marek Hulán about 2 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/4618)

#3 Updated by The Foreman Bot about 2 months ago

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

#4 Updated by Anonymous about 2 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Martin Bacovsky about 1 month ago

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

#6 Updated by Martin Bacovsky about 1 month ago

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

Also available in: Atom PDF