Project

General

Profile

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

Added by Emmanuel GARETTE over 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/07/2016
Due date:
% Done:

100%

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

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

Related to python-pyeole - 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. Fermé 04/28/2017

Associated revisions

Revision 18b5e9b3 (diff)
Added by Emmanuel GARETTE about 7 years ago

applique les patchs lors de bareosconfig -a (ref #16351 @1h)

Revision b9a9ffe6 (diff)
Added by Emmanuel GARETTE over 6 years ago

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

Also available in: Atom PDF