Anomalie #7131
Utilisation de /etc/eole/release dans rvp.actions
Statut:
Fermé
Priorité:
Bas
Assigné à:
Catégorie:
-
Version cible:
Distribution:
EOLE 2.4
Description
root@horus:~# head -n8 /usr/share/zephir/monitor/actions/eole/rvp.actions
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
def action_error(agent, old_status, new_status):
"""redémarre le service rvp sur amon uniquement si erreur tunnels
"""
from os import system
release = open('/etc/eole/release','r').read().split('\n')
Demandes liées
Révisions associées
Merge branch '2.3'
rvp.actions : test type module Eole avec variables (plus release)
fixes #7131 @1h
Conflicts:
tmpl/00_root_zephirclient.fw
Historique
#1 Mis à jour par Fabrice Barconnière il y a environ 12 ans
- Statut changé de Nouveau à A étudier
- Version cible mis à Eole 2.4-RC3
#2 Mis à jour par Fabrice Barconnière il y a environ 12 ans
- Echéance mis à 21/03/2014
- Statut changé de A étudier à Accepté
- Assigné à mis à Fabrice Barconnière
#3 Mis à jour par Fabrice Barconnière il y a environ 12 ans
- Statut changé de Accepté à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit c6f257c1b0dcc45a697e198d8f9f90b6dda52d27.
#4 Mis à jour par Emmanuel GARETTE il y a presque 12 ans
- Statut changé de Résolu à Fermé
root@scribe:~# grep release /usr/share/zephir/monitor/actions/eole/* root@scribe:~#