Project

General

Profile

Actions

Bug #24490

closed

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

Added by Marek Hulán about 6 years ago. Updated about 6 years ago.

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

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 1 (0 open1 closed)

Copied from Foreman - Feature #19383: Provide description for Hammer command to disable/enable notifications for a host.ClosedMarek Hulán04/26/2017Actions
Actions

Also available in: Atom PDF