Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [114899] trunk/tools/subversion/user-management

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


laner at svn

Apr 13, 2012, 3:45 PM

Post #1 of 1 (61 views)
Permalink
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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.