Changeset 1436 for zero-center/trunk/fuentes
- Timestamp:
- May 9, 2016, 12:53:14 PM (5 years ago)
- Location:
- zero-center/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py
r1430 r1436 211 211 if "DISTRIB_DESCRIPTION" in line: 212 212 self.msg_text=line.split("=")[1] 213 #Load slave_blacklist 214 self.blacklist=self.client.get_variable("","VariablesManager","SLAVE_BLACKLIST") 213 215 214 216 except: … … 1058 1060 def app_clicked(self,widget,app): 1059 1061 if not os.environ["MASTER_SERVER_IP"]: 1060 self.open_dialog("Warning","<b>%s</b> ESTAS EN UN ESCLAVO")1061 return -1 1062 1062 if self.blacklist[app]: 1063 self.open_dialog("Warning",_("<b>%s</b> Operation not allowed on a slave server"),False) 1064 return -1 1063 1065 if app["ID"] in self.configured_apps: 1064 1066 ret=self.open_dialog("Warning",_("<b>%s</b> is already configured. Do you want to execute it again?")%self.get_name(app),True) -
zero-center/trunk/fuentes/n4dvars/SLAVE_BLACKLIST
r1434 r1436 9 9 "description": "List of blacklisted services in slave servers", 10 10 "value": { 11 "install-moodle": ["moodle"] 11 "install-moodle": ["moodle"], 12 "lliurex-owncloud":["owncloud"], 13 "lliurex-pmb-installer":["pmb","opac"], 14 "lliurex-freeradius":[] 12 15 } 13 16
Note: See TracChangeset
for help on using the changeset viewer.