correction batch
This commit is contained in:
parent
244cc1a716
commit
32bfaa523f
@ -85,6 +85,8 @@ def main():
|
||||
group_id = None
|
||||
sys.exit(1)
|
||||
liste_serveurs = groups[group_id][1]
|
||||
else:
|
||||
liste_serveurs = groups[group_id][1]
|
||||
|
||||
if user is None:
|
||||
user = flushed_input("Utilisateur : ")
|
||||
|
@ -78,6 +78,8 @@ def main():
|
||||
group_id = None
|
||||
sys.exit(1)
|
||||
liste_serveurs = groups[group_id][1]
|
||||
else:
|
||||
liste_serveurs = groups[group_id][1]
|
||||
for id_serv in liste_serveurs :
|
||||
ret = proxy.serveurs.del_serveur(id_serv)
|
||||
if ret[1]:
|
||||
|
@ -91,6 +91,8 @@ def main():
|
||||
group_id = None
|
||||
sys.exit(1)
|
||||
liste_serveurs = groups[group_id][1]
|
||||
else:
|
||||
liste_serveurs = groups[group_id][1]
|
||||
if script is None:
|
||||
script = flushed_input("Script à executer : ")
|
||||
if params is None:
|
||||
|
@ -87,6 +87,8 @@ def main():
|
||||
group_id = None
|
||||
sys.exit(1)
|
||||
liste_serveurs = groups[group_id][1]
|
||||
else:
|
||||
liste_serveurs = groups[group_id][1]
|
||||
|
||||
if polling is None :
|
||||
polling = flushed_input("Durée du polling (en min) : ")
|
||||
|
@ -93,6 +93,8 @@ def main():
|
||||
group_id = None
|
||||
sys.exit(1)
|
||||
liste_serveurs = groups[group_id][1]
|
||||
else:
|
||||
liste_serveurs = groups[group_id][1]
|
||||
# on récupère toutes les master/slaves du groupe de serveurs
|
||||
params = convert(proxy.serveurs.get_groupe_vars(liste_serveurs, True))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user