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"]