r114915 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114914‎ | r114915 | r114916 >
Date:00:00, 16 April 2012
Author:laner
Status:new
Tags:
Comment:
ou is projects, not volumes
Modified paths:
  • /trunk/tools/subversion/user-management/manage-volumes (modified) (history)

Diff [purge]

Index: trunk/tools/subversion/user-management/manage-volumes
@@ -51,7 +51,7 @@
5252 base = ldapSupportLib.getBase()
5353 ds = ldapSupportLib.connect()
5454
55 - projectdata = self.search_s(ds,"ou=volumes," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
 55+ projectdata = self.search_s(ds,"ou=projects," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
5656 hostdata = self.search_s(ds,"ou=hosts," + base,ldap.SCOPE_SUBTREE,"(puppetvar=instanceproject=*)", ['puppetvar','aRecord'])
5757 volumedata = self.ssh_exec_command('sudo gluster volume info', True, True)
5858 project_hosts = self.get_hosts(hostdata)