예제 #1
0
 def save_client_security(self):
     # create the real mapfile
     cvWCreate.create_client_mapfile(os.path.join(self.work_dir,cvWConsts.GROUP_MAP_FILE),
                                     self.client_security['proxy_DN'],
                                     self.client_security['factory_DNs'],
                                     self.client_security['schedd_DNs'],
                                     self.client_security['collector_DNs'])
     return
예제 #2
0
 def save_client_security(self):
     # create a dummy mapfile so we have a reasonable default
     cvWCreate.create_client_mapfile(os.path.join(self.work_dir,cvWConsts.FRONTEND_MAP_FILE),
                                     self.client_security['proxy_DN'],[],[],[])
     # but the real mapfile will be (potentially) different for each
     # group, so frontend daemons will need to point to the real one at runtime
     cvWCreate.create_client_condor_config(os.path.join(self.work_dir,cvWConsts.FRONTEND_CONDOR_CONFIG_FILE),
                                           os.path.join(self.work_dir,cvWConsts.FRONTEND_MAP_FILE),
                                           self.client_security['collector_nodes'])
     return