enum

Obsctl::Diagnostics::Status

Inherits Enum < Comparable < Value < Object

Severity of a single doctor check.

Warn deliberately does not fail the command: a warning describes a setup that works but is worth changing (a plaintext password, a daemon that is not installed as a service). Only Fail means obsctl cannot do what the user is asking for.

Constants

Ok = 0
Warn = 1
Fail = 2

Instance methods

fail?

Returns true if this enum value equals Fail

Source
label
Source
ok?

Returns true if this enum value equals Ok

Source
warn?

Returns true if this enum value equals Warn

Source