reference_rb_file

in environment.rb [119:129]


  def reference_rb_file
    role = @ctx['__ROLE__'].downcase
    base_ref_file = "reference/#{@ctx['__HOST_TYPE__']}_template.rb"
    return base_ref_file if File.exist?(base_ref_file)

    ref_file = "reference/#{role}_#{@ctx['__HOST_TYPE__']}_template.rb"
    raise "Reference file #{ref_file} not found on host #{Socket.gethostname}" unless File.exist?(ref_file)

    ref_file
  end