Class: Puppet::SSL::StateMachine::LockFailure Private

Inherits:
SSLState show all
Defined in:
lib/puppet/ssl/state_machine.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

We failed to acquire the lock, so exit

API:

  • private

Instance Attribute Summary collapse

Attributes inherited from SSLState

#ssl_context

Instance Method Summary collapse

Methods inherited from SSLState

#log_error, #to_error

Constructor Details

#initialize(machine, message) ⇒ LockFailure

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of LockFailure.

API:

  • private



334
335
336
337
# File 'lib/puppet/ssl/state_machine.rb', line 334

def initialize(machine, message)
  super(machine, nil)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

API:

  • private



332
333
334
# File 'lib/puppet/ssl/state_machine.rb', line 332

def message
  @message
end