def extract_redis_master(text)
      system_name = @config.system_name
      redis_master = ""
      text.each_line do |line|
        parts = line.split('/', 2)
        case parts.size
        when 1
          redis_master = parts[0]
        when 2
          name, master = parts
          redis_master = master if name == system_name
        end
      end
      redis_master
    end
def extract_redis_master(text)
      system_name = @config.system_name
      redis_master = ""
      text.each_line do |line|
        parts = line.split('/', 2)
        case parts.size
        when 1
          redis_master = parts[0]
        when 2
          name, master = parts
          redis_master = master if name == system_name
        end
      end
      redis_master
    end
extract redis master from file content and return the server for our system