Class: OS::Puppet::Fencing::Node
- Inherits:
-
Object
- Object
- OS::Puppet::Fencing::Node
- Defined in:
- lib/fencing/config.rb
Instance Attribute Summary collapse
-
#blocker ⇒ Object
readonly
Returns the value of attribute blocker.
-
#host_prefix ⇒ Object
readonly
Returns the value of attribute host_prefix.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(host_prefix, node_file_name, blocker) ⇒ Node
constructor
A new instance of Node.
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
#blocker ⇒ Object (readonly)
Returns the value of attribute blocker.
43 44 45 |
# File 'lib/fencing/config.rb', line 43 def blocker @blocker end |
#host_prefix ⇒ Object (readonly)
Returns the value of attribute host_prefix.
43 44 45 |
# File 'lib/fencing/config.rb', line 43 def host_prefix @host_prefix end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
43 44 45 |
# File 'lib/fencing/config.rb', line 43 def node @node end |