Revision d3e6fd0e lib/config.py

b/lib/config.py
1169 1169
    return self._config_data.cluster.shared_file_storage_dir
1170 1170

  
1171 1171
  @locking.ssynchronized(_config_lock, shared=1)
1172
  def GetGlusterStorageDir(self):
1173
    """Get the Gluster storage dir for this cluster.
1174

  
1175
    """
1176
    return self._config_data.cluster.gluster_storage_dir
1177

  
1178
  @locking.ssynchronized(_config_lock, shared=1)
1172 1179
  def GetHypervisorType(self):
1173 1180
    """Get the hypervisor type for this cluster.
1174 1181

  
......
2596 2603
      constants.SS_CLUSTER_TAGS: cluster_tags,
2597 2604
      constants.SS_FILE_STORAGE_DIR: cluster.file_storage_dir,
2598 2605
      constants.SS_SHARED_FILE_STORAGE_DIR: cluster.shared_file_storage_dir,
2606
      constants.SS_GLUSTER_STORAGE_DIR: cluster.gluster_storage_dir,
2599 2607
      constants.SS_MASTER_CANDIDATES: mc_data,
2600 2608
      constants.SS_MASTER_CANDIDATES_IPS: mc_ips_data,
2601 2609
      constants.SS_MASTER_IP: cluster.master_ip,

Also available in: Unified diff