Project

General

Profile

Anomalie #7131

Utilisation de /etc/eole/release dans rvp.actions

Added by Joël Cuissinat over 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Bas
Category:
-
Start date:
Due date:
03/21/2014
% Done:

100%

Estimated time:
0.75 h
Spent time:
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')

Related issues

Related to zephir-client - Anomalie #6871: références à /etc/eole/release dans certains scripts Zéphir Fermé 12/13/2013
Related to zephir-client - Anomalie #7687: L'agent RVP ne traite pas correctement les Amonecole et Cie Fermé 03/21/2014

Associated revisions

Revision c6f257c1
Added by Fabrice Barconnière about 7 years ago

Merge branch '2.3'
rvp.actions : test type module Eole avec variables (plus release)
fixes #7131 @1h
Conflicts:
tmpl/00_root_zephirclient.fw

History

#1 Updated by Fabrice Barconnière about 7 years ago

  • Status changed from Nouveau to A étudier
  • Target version set to Eole 2.4-RC3

#2 Updated by Fabrice Barconnière about 7 years ago

  • Due date set to 03/21/2014
  • Status changed from A étudier to Accepté
  • Assigned To set to Fabrice Barconnière

#3 Updated by Fabrice Barconnière about 7 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from Résolu to Fermé
root@scribe:~# grep release /usr/share/zephir/monitor/actions/eole/*
root@scribe:~# 

Also available in: Atom PDF