# File src/ruby_supportlib/phusion_passenger/utils/hosts_file_parser.rb, line 70
      def add_group_data(marker, data)
        begin_index = find_line(0, "###### BEGIN #{marker} ######")
        end_index = find_line(begin_index + 1, "###### END #{marker} ######") if begin_index
        if begin_index && end_index
          @lines[begin_index + 1 .. end_index - 1] = data.split("\n")
        else
          @lines << "###### BEGIN #{marker} ######"
          @lines.concat(data.split("\n"))
          @lines << "###### END #{marker} ######"
        end
      end