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.



408
409
410
411
# File 'lib/puppet/ssl/state_machine.rb', line 408

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.



406
407
408
# File 'lib/puppet/ssl/state_machine.rb', line 406

def message
  @message
end