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

#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.


324
325
326
327
# File 'lib/puppet/ssl/state_machine.rb', line 324

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.


322
323
324
# File 'lib/puppet/ssl/state_machine.rb', line 322

def message
  @message
end