Tâche #16351
Distribution EOLE - Scénario #16962: Traitement express MEN (36-38)
Les patchs devraient toujours être utilisés lors de la templatisation des fichiers bareos
Description
S'il est possible de patcher les fichiers suivant :
- /usr/share/eole/creole/distrib/bareosschedule.conf
- /usr/share/eole/creole/distrib/bareosschedulepost.conf
- /usr/share/eole/creole/distrib/bareos-dir.conf
Lorsqu'on modifie la configuration dans l'EAD ou via la ligne de commandes (baculaconfig -a), les fichiers générés n'ont pas les patches.
Il est alors nécessaire de les regénérer via CreoleCat.
Related issues
Associated revisions
applique les patchs lors de bareosconfig -a (ref #16351 @1h)
applique les patchs lors de bareosconfig -a (ref #16351 @1h)
History
#1 Updated by Emmanuel GARETTE about 7 years ago
- Tracker changed from Demande to Proposition Scénario
- Subject changed from baculaconfig -a ou l'EAD n'applique pas les patches to Les patchs devraient toujours être utilisés lors de la templatisation des fichiers bareos
- Description updated (diff)
#2 Updated by Joël Cuissinat about 7 years ago
- Tracker changed from Proposition Scénario to Tâche
- Start date set to 09/07/2016
- Estimated time set to 3.00 h
- Parent task set to #16962
- Remaining (hours) changed from 6.0 to 3.0
#3 Updated by Emmanuel GARETTE about 7 years ago
- Status changed from Nouveau to En cours
#4 Updated by Emmanuel GARETTE about 7 years ago
- Assigned To set to Emmanuel GARETTE
#5 Updated by Emmanuel GARETTE about 7 years ago
Pour reproduire :
cp /usr/share/eole/creole/distrib/bareos-dir.conf /usr/share/eole/creole/modif/bareos-dir.conf
Faire une modification dans le fichier /usr/share/eole/creole/modif/bareos-dir.conf.
gen_patch CreoleCat -t bareos-dir.conf
La modification est bien dans le fichier /etc/bareos/bareos-dir.conf.
bareosconfig -a
Avant la mise à jour, la correction n'est plus dans le fichier /etc/bareos/bareos-dir.conf.
#6 Updated by Emmanuel GARETTE about 7 years ago
- Remaining (hours) changed from 3.0 to 0.25
#7 Updated by Emmanuel GARETTE about 7 years ago
- % Done changed from 0 to 100
#8 Updated by Scrum Master about 7 years ago
- Status changed from En cours to Résolu
#9 Updated by Joël Cuissinat about 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
OK => SR-T01-005 - Conservation des patches avec bareosconfig.py
#10 Updated by Emmanuel GARETTE over 6 years ago
- Related to Tâche #20336: Bareos 2.5.2 : la commande bareosconfig.py ne prend pas en compte les bons templates pour la génération des fichiers de configuration. added