Revert [GlobalPython] (restes qui n'étaient pas effacés)

This reverts commit 2aaa97e7d1.
This commit is contained in:
Daniel STAN 2013-05-18 18:51:39 +02:00
parent 5f4535b5c5
commit 63b7e47ea3
3 changed files with 1 additions and 30 deletions

View file

@ -3,7 +3,6 @@
<Path name="/etc/default/bcfg2"/> <Path name="/etc/default/bcfg2"/>
<Package name="bcfg2"/> <Package name="bcfg2"/>
<Group name="bcfg2-server"> <Group name="bcfg2-server">
<GlobalPython name="/etc/test.conf"/>
<Path name="/etc/bcfg2-web.conf"/> <Path name="/etc/bcfg2-web.conf"/>
<Package name="bcfg2-server"/> <Package name="bcfg2-server"/>
<Service name="bcfg2-server"/> <Service name="bcfg2-server"/>

View file

@ -7,7 +7,7 @@ header("Fichier de configuration de bcfg2")
if has("bcfg2-server"): if has("bcfg2-server"):
@[server] @[server]
%repository = "/var/lib/bcfg2" %repository = "/var/lib/bcfg2"
%plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,Packages,Probes,DBStats,GlobalPython" %plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,Packages,Probes,DBStats"
%svn = "no" %svn = "no"
@ @

View file

@ -1,28 +0,0 @@
# -*- coding: utf-8 -*-
#
# global_common.py
# ---------
#
# Copyright (C) 2013 Raphaël Cauderlier <cauderlier@crans.org>
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
"""Fichier inclu par tous les scripts du plugin GlobalPython de bcfg2"""
import Bcfg2.Server.Plugins.Metadata
query = global_metadata.query
all_clients = query.all()