def __update_yaml(self):
    conf_file = os.path.join(self.get_path(), 'resources', 'dse', 'conf', 'dse.yaml')
    with open(conf_file, 'r') as f:
        data = yaml.load(f)
    data['system_key_directory'] = os.path.join(self.get_path(), 'keys')
    full_options = common.merge_configuration(self.cluster._dse_config_options, self._dse_config_options, delete_empty=False)
    data = common.merge_configuration(data, full_options)
    with open(conf_file, 'w') as f:
        yaml.safe_dump(data, f, default_flow_style=False)
def __update_yaml(self):
    conf_file = os.path.join(self.get_path(), 'resources', 'dse', 'conf', 'dse.yaml')
    with open(conf_file, 'r') as f:
        data = yaml.load(f)
    data['system_key_directory'] = os.path.join(self.get_path(), 'keys')
    full_options = common.merge_configuration(self.cluster._dse_config_options, self._dse_config_options, delete_empty=False)
    data = common.merge_configuration(data, full_options)
    with open(conf_file, 'w') as f:
        yaml.safe_dump(data, f, default_flow_style=False)