Wiki » Historique » Version 12
Thierry Bertrand, 10/03/2015 15:52
| 1 | 1 | Thierry Bertrand | h1. Principe de fonctionnement |
|---|---|---|---|
| 2 | 1 | Thierry Bertrand | |
| 3 | 1 | Thierry Bertrand | Le paquet eole-zephir-medde sert à alimenter le Zephir avec les informations des modules eSBL & eCDL. |
| 4 | 1 | Thierry Bertrand | Il contient à minima les dictionnaires et les fonctions nécessaires pour pouvoir déclarer un serveur via le frontend Zephir. |
| 5 | 1 | Thierry Bertrand | |
| 6 | 1 | Thierry Bertrand | Par extension, il peut aussi contenir tous les dictionnaires "hors Eole" nécessaires aux variantes. |
| 7 | 7 | Thierry Bertrand | *! les dictionnaires portés par Eole ne doivent pas figurer dans ce dépôt ! Ce serait fatal à apt !* |
| 8 | 1 | Thierry Bertrand | |
| 9 | 11 | Thierry Bertrand | h1. Arborescence dépôt |
| 10 | 1 | Thierry Bertrand | |
| 11 | 2 | Thierry Bertrand | <pre> |
| 12 | 1 | Thierry Bertrand | |_ creole |
| 13 | 1 | Thierry Bertrand | | |_ funcs |
| 14 | 1 | Thierry Bertrand | | |_ creole3 |
| 15 | 1 | Thierry Bertrand | | |_ mesFonctionsPerso.py |
| 16 | 5 | Thierry Bertrand | </pre>Ce répertoire sert à stocker l'ensemble des fonctions personnalisées nécessaires à la saisie. |
| 17 | 5 | Thierry Bertrand | |
| 18 | 3 | Thierry Bertrand | <pre> |
| 19 | 1 | Thierry Bertrand | |_ zephir |
| 20 | 1 | Thierry Bertrand | | |_ default_modules |
| 21 | 1 | Thierry Bertrand | | |_ 6 |
| 22 | 1 | Thierry Bertrand | | |_ ecdl-2.4 |
| 23 | 1 | Thierry Bertrand | | |_ esbl-2.4 |
| 24 | 1 | Thierry Bertrand | | |_ 7 |
| 25 | 1 | Thierry Bertrand | | |_ ecdl-2.4.1 |
| 26 | 1 | Thierry Bertrand | | |_ ecdl-2.4.1 |
| 27 | 9 | Thierry Bertrand | </pre>Les répertoires 6 et 7 servent à stocker les fichiers contenant les informations de dictionnaires nécessaires par module. |
| 28 | 9 | Thierry Bertrand | Ces chiffres correspondent respectivement aux versions 2.4 & 2.4.1 d'Eole. |
| 29 | 1 | Thierry Bertrand | Les fichiers doivent être appelés *nom_module-release* |
| 30 | 9 | Thierry Bertrand | |
| 31 | 9 | Thierry Bertrand | ex. ecdl-2.4.1 |
| 32 | 9 | Thierry Bertrand | |
| 33 | 5 | Thierry Bertrand | |
| 34 | 6 | Thierry Bertrand | |
| 35 | 1 | Thierry Bertrand | <pre> |
| 36 | 10 | Thierry Bertrand | |_ zephir |
| 37 | 1 | Thierry Bertrand | | |_ dictionnaires |
| 38 | 1 | Thierry Bertrand | | |_ 2.4 |
| 39 | 1 | Thierry Bertrand | | |_ eole |
| 40 | 1 | Thierry Bertrand | | |_ eole-ecdl |
| 41 | 1 | Thierry Bertrand | | |_ eole-esbl |
| 42 | 1 | Thierry Bertrand | | |_ 2.4.1 |
| 43 | 1 | Thierry Bertrand | | |_ eole |
| 44 | 1 | Thierry Bertrand | | |_ eole-ecdl |
| 45 | 1 | Thierry Bertrand | | |_ eole-ecdlannuaire |
| 46 | 1 | Thierry Bertrand | | |_ eole-esbl |
| 47 | 1 | Thierry Bertrand | | |_ supervision-psin |
| 48 | 6 | Thierry Bertrand | </pre>Ces répertoires correspondent aux noms des paquets d'où sont issus les dictionnaires pour le module. |
| 49 | 6 | Thierry Bertrand | Ils abritent tous les dictionnaires nécessaires au frontend. |
| 50 | 6 | Thierry Bertrand | |
| 51 | 6 | Thierry Bertrand | Par exemple, le répertoire |
| 52 | 6 | Thierry Bertrand | <pre> |
| 53 | 6 | Thierry Bertrand | | |_ supervision-psin |
| 54 | 6 | Thierry Bertrand | </pre>contient |
| 55 | 1 | Thierry Bertrand | 20_psin.xml 49_ocsinventory_agent.xml |
| 56 | 8 | Thierry Bertrand | |
| 57 | 11 | Thierry Bertrand | h1. Principes d'alimentation |
| 58 | 8 | Thierry Bertrand | |
| 59 | 1 | Thierry Bertrand | L'alimentation peut se faire de deux manières : |
| 60 | 10 | Thierry Bertrand | |
| 61 | 11 | Thierry Bertrand | h2. 1 - outils zephir-parc |
| 62 | 10 | Thierry Bertrand | |
| 63 | 10 | Thierry Bertrand | Le dépôt zephir-parc contient un tas d'outils permettant quasiment d'automatiser la collecte d'informations nécessaires. |
| 64 | 10 | Thierry Bertrand | |
| 65 | 10 | Thierry Bertrand | Sur un serveur installé, mis *à jour* de sa version et *instancié* |
| 66 | 10 | Thierry Bertrand | |
| 67 | 10 | Thierry Bertrand | <pre> |
| 68 | 10 | Thierry Bertrand | git clone https://dev-eole.ac-dijon.fr/git/zephir-parc.git |
| 69 | 10 | Thierry Bertrand | cd zephir-parc/outils |
| 70 | 10 | Thierry Bertrand | </pre> |
| 71 | 10 | Thierry Bertrand | Ce répertoire contient un script shell zephir_dicts.sh qui, lancé sur le module, va générer une archive sous /tmp |
| 72 | 10 | Thierry Bertrand | |
| 73 | 10 | Thierry Bertrand | L'archive est organisée de la manière suivante (cas d'un eCDL) : |
| 74 | 10 | Thierry Bertrand | <pre> |
| 75 | 10 | Thierry Bertrand | ecdl-2.4.1.paqs |
| 76 | 10 | Thierry Bertrand | |_ eole |
| 77 | 10 | Thierry Bertrand | | |_ eole-antivirus |
| 78 | 10 | Thierry Bertrand | | |_ eole-client-annuaire |
| 79 | 10 | Thierry Bertrand | | |_ eole-ead-common |
| 80 | 10 | Thierry Bertrand | | |_ eole-ecdl |
| 81 | 10 | Thierry Bertrand | | |_ eole-ecdlannuaire |
| 82 | 10 | Thierry Bertrand | | |_ eole-exim |
| 83 | 10 | Thierry Bertrand | | |_ eole-fichier-common |
| 84 | 10 | Thierry Bertrand | | |_ eole-fichier-primaire |
| 85 | 10 | Thierry Bertrand | | |_ eole-flask |
| 86 | 10 | Thierry Bertrand | | |_ eole-nut |
| 87 | 10 | Thierry Bertrand | | |_ eole-server |
| 88 | 10 | Thierry Bertrand | | |_ eole-userpassword |
| 89 | 10 | Thierry Bertrand | | |_ supervision-psin |
| 90 | 10 | Thierry Bertrand | </pre> |
| 91 | 11 | Thierry Bertrand | h3. fichier nommodule-release |
| 92 | 10 | Thierry Bertrand | Le fichier *ecdl-2.4.1.paqs* correspond au fichier *nom_module-release* vu précédemment et doit être renommé *sans* l'extension .paqs. |
| 93 | 10 | Thierry Bertrand | Soit ici ecdl-2.4.1.paqs devient ecdl-2.4.1 |
| 94 | 10 | Thierry Bertrand | De plus, il *doit* subir une modification nécessaire pour indiquer si le module concerné est en mode conteneur ou pas : |
| 95 | 10 | Thierry Bertrand | mode *non conteneur* : ajout de la ligne: eole/eole-zephir-module |
| 96 | 10 | Thierry Bertrand | mode *conteneur* : eole/eole-zephir-module-container |
| 97 | 10 | Thierry Bertrand | Reste alors à le placer au bon endroit sur le dépôt soit ici : _eole-zephir-medde/zephir/default_modules/7/ecdl-2.4.1_ |
| 98 | 10 | Thierry Bertrand | |
| 99 | 11 | Thierry Bertrand | h3. répertoires de dictionnaires |
| 100 | 10 | Thierry Bertrand | L'archive se comporte comme l'arborescence du dépôt. On obtient des répertoires qui correspondent à des paquets et contenant des dictionnaires. |
| 101 | 12 | Thierry Bertrand | Ils devront être ajoutés au dépôt à l'endroit adéquat sous */zephir/dictionnaires/release* soit ici : _eole-zephir-medde/zephir/dictionnaires/2.4.1/_ |
| 102 | 12 | Thierry Bertrand | |
| 103 | 10 | Thierry Bertrand | *Rappel : dans le cadre des modules MEDDE traités ici, il faut purger tous les dicos portés par Eole et ne pas les ajouter sous peine de casser apt* |