Project

General

Profile

Tâche #22060

Scénario #21936: Réplication LDAP "manuelle" - le script active_replication.py devrait poser plus de questions - 2.6.2beta5

Rechercher tous les scripts qui appellent question_ouinon

Added by Gérald Schwartzmann over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Start date:
11/13/2017
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Remaining (hours):
0.0

History

#1 Updated by Gérald Schwartzmann over 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Gérald Schwartzmann over 2 years ago

  • Assigned To set to Gérald Schwartzmann

#3 Updated by Gérald Schwartzmann over 2 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 0.50 h
  • Remaining (hours) set to 0.5

Les fichiers sont listés dans la demande #20982 :

./arv/posttemplate/00-arv:        if question_ouinon(question, level='warn') == 'oui':
./conf-sphynx/scripts/init_sphynx:    if question_ouinon(question, level='warn') == 'non':
./conf-sphynx/scripts/init_sphynx:        if question_ouinon(question, level='warn') == 'non':
./conf-sphynx/scripts/init_sphynx:        if question_ouinon(question, level='warn') == 'oui':
./creole/bin/Maj-Auto:                    assert question_ouinon(_(u"Do you wish to proceed?")) == 'oui'
./creole/creole/reconfigure.py:            if ihm.question_ouinon(_(u"Proceeding with instantiation ?"),
./creole/creole/reconfigure.py:        if ihm.question_ouinon(_(u"Force execution?"),
./creole/creole/reconfigure.py:            if user != 'eole' and ihm.question_ouinon(prompt.format(user)) == _(u'no'):
./creole/creole/reconfigure.py:        if ihm.question_ouinon(_(u"""An update is recommended.
./creole/creole/reconfigure.py:            if ihm.question_ouinon(_(u"""Reboot is necessary.
./creole/upgrade/Upgrade-Auto:        if question_ouinon(confirmation_msg.format(args.release)) != 'oui':
./eole-password/bin/eolepasswd:    res = ihm.question_ouinon(question, interactive=True, default='non')
./eole-vpn/scripts/active_rvp:                rep = question_ouinon("configurer en mode manuel", default='non')
./eole-vpn/scripts/active_rvp:        rep = question_ouinon("Etes-vous certain de vouloir désactiver le VPN ?", default='non')
./eolesql/scripts/mysql_pwd.py:        if question_ouinon('\nVoulez-vous que les autres mots de passe soient modifiés ?') == 'non':
./python-pyeole/pyeole/ihm.py:def question_ouinon(question, interactive=True, default='non',
./python-pyeole/pyeole/ihm.py:        raise ValueError(_(u'question_ouinon : default must be "yes" or "no"'))
./python-pyeole/pyeole/ihm.py:        raise ValueError(_(u'question_ouinon : default must be "yes" or "no"'))
./python-pyeole/pyeole/ihm.py:        raise ValueError(_(u'question_ouinon : level must be "info", "warn" or "err"'))
./scribe-backend/scripts/suppression_utilisateur.py:    sup_rep = question_ouinon("Voulez-vous supprimer les répertoires personnels ?") == 'oui'
./scribe-backend/scripts/suppression_utilisateur.py:    confirm = question_ouinon(msg.format(','.join(liste_users))) == 'oui'
./eole-annuaire/scripts/active_replication.py:    elif question_ouinon("Utiliser le protole ldaps (port 636) pour la réplication", default='oui') == 'oui':
./eole-annuaire/scripts/active_replication.py:if question_ouinon("Répliquer également les groupes", 'non') == 'oui':
./eole-annuaire/scripts/active_replication.py:if question_ouinon("Ajouter des uid à exclure de la réplication", 'non') == 'oui':
./eole-common/sbin/gen_conteneurs:                if ihm.question_ouinon(question) == 'oui':

Les scripts appellent la fonction en fixant la valeur la valeur par défaut utilise bien un argument nommé.

#4 Updated by Scrum Master over 2 years ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat over 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Vu

Also available in: Atom PDF