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

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.



460
461
462
463
# File 'lib/puppet/ssl/state_machine.rb', line 460

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.



458
459
460
# File 'lib/puppet/ssl/state_machine.rb', line 458

def message
  @message
end