def update_configuration(opts)
      if (cfg = AgentConfig.load_cfg(@agent_name))
        opts.each { |k, v| cfg[k] = v }
        AgentConfig.store_cfg(@agent_name, cfg)
        true
      else
        ErrorTracker.log(self, "Could not access configuration file #{AgentConfig.cfg_file(@agent_name).inspect} for update")
        false
      end
    rescue StandardError => e
      ErrorTracker.log(self, "Failed updating configuration file #{AgentConfig.cfg_file(@agent_name).inspect}", e)
      false
    end
def update_configuration(opts)
      if (cfg = AgentConfig.load_cfg(@agent_name))
        opts.each { |k, v| cfg[k] = v }
        AgentConfig.store_cfg(@agent_name, cfg)
        true
      else
        ErrorTracker.log(self, "Could not access configuration file #{AgentConfig.cfg_file(@agent_name).inspect} for update")
        false
      end
    rescue StandardError => e
      ErrorTracker.log(self, "Failed updating configuration file #{AgentConfig.cfg_file(@agent_name).inspect}", e)
      false
    end
Update agent's persisted configuration
 Note that @options are frozen and therefore not updated

 === Parameters
 opts(Hash):: Options being updated

 === Return
 (Boolean):: true if successful, otherwise false