Class: OS::Puppet::Fencing::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/fencing/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(host_prefix, node_file_name, blocker) ⇒ Node

Returns a new instance of Node.



45
46
47
48
49
# File 'lib/fencing/config.rb', line 45

def initialize(host_prefix, node_file_name, blocker)
    @host_prefix = host_prefix
    @node = node_file_name
    @blocker = blocker
end

Instance Attribute Details

#blockerObject (readonly)

Returns the value of attribute blocker.



43
44
45
# File 'lib/fencing/config.rb', line 43

def blocker
  @blocker
end

#host_prefixObject (readonly)

Returns the value of attribute host_prefix.



43
44
45
# File 'lib/fencing/config.rb', line 43

def host_prefix
  @host_prefix
end

#nodeObject (readonly)

Returns the value of attribute node.



43
44
45
# File 'lib/fencing/config.rb', line 43

def node
  @node
end