Mailing List Archive

SVN: [114899] trunk/tools/subversion/user-management
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114899

Revision: 114899
Author: laner
Date: 2012-04-13 22:45:02 +0000 (Fri, 13 Apr 2012)
Log Message:
-----------
Changing OU for projects

Modified Paths:
--------------
trunk/tools/subversion/user-management/manage-exports
trunk/tools/subversion/user-management/manage-volumes

Modified: trunk/tools/subversion/user-management/manage-exports
===================================================================
--- trunk/tools/subversion/user-management/manage-exports 2012-04-13 22:23:15 UTC (rev 114898)
+++ trunk/tools/subversion/user-management/manage-exports 2012-04-13 22:45:02 UTC (rev 114899)
@@ -41,7 +41,7 @@

# w00t We're in!
try:
- projectdata = ds.search_s("ou=groups," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
+ projectdata = ds.search_s("ou=projects," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
projects = []
if not projectdata:
raise ldap.NO_SUCH_OBJECT()

Modified: trunk/tools/subversion/user-management/manage-volumes
===================================================================
--- trunk/tools/subversion/user-management/manage-volumes 2012-04-13 22:23:15 UTC (rev 114898)
+++ trunk/tools/subversion/user-management/manage-volumes 2012-04-13 22:45:02 UTC (rev 114899)
@@ -51,7 +51,7 @@
base = ldapSupportLib.getBase()
ds = ldapSupportLib.connect()

- projectdata = self.search_s(ds,"ou=groups," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
+ projectdata = self.search_s(ds,"ou=volumes," + base,ldap.SCOPE_SUBTREE,"(&(cn=*)(owner=*))")
hostdata = self.search_s(ds,"ou=hosts," + base,ldap.SCOPE_SUBTREE,"(puppetvar=instanceproject=*)", ['puppetvar','aRecord'])
volumedata = self.ssh_exec_command('sudo gluster volume info', True, True)
project_hosts = self.get_hosts(hostdata)


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs