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 #1

Updated by Marek Hulán about 6 years ago

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

Updated by Marek Hulán about 6 years ago

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

Updated by The Foreman Bot about 6 years ago

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

Updated by Anonymous about 6 years ago

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

Updated by Martin Bacovsky about 6 years ago

  • Fixed in Releases hammer-cli-foreman-0.14.0 added
Actions #6

Updated by Martin Bacovsky about 6 years ago

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

Also available in: Atom PDF