class SousChef::NodeManager
Attributes
nodes[R]
parser[R]
Public Class Methods
new(config_file)
click to toggle source
# File lib/sous-chef/node_manager.rb, line 4 def initialize(config_file) @parser = SousChef::Parser.new(config_file) @nodes = {} initialize_node_collections end
Private Instance Methods
initialize_node_collections()
click to toggle source
# File lib/sous-chef/node_manager.rb, line 12 def initialize_node_collections @parser.parse.each do |name, collection| @nodes[name] = SousChef::NodeBuilder.new(name, collection).build end end