From 50c4db571e85763897e3cda466bbd5675f1ed302 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Thu, 9 May 2013 21:20:39 +0200 Subject: [PATCH] [munin] annuaires.py outdated depuis le 31/08/2010 cf commit 40e59dee855fa7006bc9ce2e8ef7f4132bf8e4c4 --- gestion/annuaires.py | 4 ++++ munin/scripts/hosts_plugins.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gestion/annuaires.py b/gestion/annuaires.py index ebc0fd31..9d3cbfa6 100755 --- a/gestion/annuaires.py +++ b/gestion/annuaires.py @@ -1,5 +1,9 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +import sys +sys.path.append('/usr/scripts/') +import cranslib.deprecated +cranslib.deprecated.module() # Liste des bâtiments avec switch manageables bat_switchs = [ 'a' , 'b' , 'c' , 'g', 'h' , 'i' , 'j' , 'm' , 'p' , 'o' ] diff --git a/munin/scripts/hosts_plugins.py b/munin/scripts/hosts_plugins.py index 4618b40e..33d17f9d 100755 --- a/munin/scripts/hosts_plugins.py +++ b/munin/scripts/hosts_plugins.py @@ -10,7 +10,7 @@ import sys as _sys _sys.path.append("/usr/scripts/gestion") del _sys -import annuaires +import annuaires_pg as annuaires import config __all__ = ["hosts_plugins", "munin_fw", "cron_plugins", "hosts_crons"]