Project

General

Profile

Actions

Bug #11708

closed

New status code broke discovery plugin API

Added by Lukas Zapletal over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I see no reason why to have all status-related methods in Host::Managed. This prevents plugins from using this in their owh STI sub-classes (e.g. discovery) and essentially breaks all API operations (patch is required: https://gist.github.com/lzap/2b1f83d2d47836fa9816).

Either move it to Host::Base or at least create a module that can be mixed into subclasses.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #10782: Add global status for hostsClosedMarek Hulán06/11/2015Actions
Actions

Also available in: Atom PDF