crans_bcfg2/Python/etc/bcfg2.conf
Nicolas Dandrimont e5f0182aad [bcfg2] Configuration du service de statistiques web
darcs-hash:20110215103814-ffbb2-ad4a8af5092c1b486235c0dcb6a30b7a44df7991.gz
2011-02-15 11:38:14 +01:00

36 lines
828 B
Python

# -*- coding: utf-8; mode: python -*-
include("secrets")
header("Fichier de configuration de bcfg2")
if has("bcfg2-server"):
@[server]
%repository = "/var/lib/bcfg2"
%plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,DebAutoPkg,Probes,DBStats"
%svn = "no"
@
@[statistics]
%sendmailpath = "/usr/sbin/sendmail"
if has("bcfg2-server"):
%database_engine = "sqlite3"
@
@[communication]
%protocol = "xmlrpc/ssl"
%password = secrets.bcfg2_password
if has("bcfg2-server"):
%key = "/etc/bcfg2.key"
%certificate = "/etc/bcfg2.key"
if has("test"):
%fingerprint = "c77f8e7ad96eba77f303afe5a5ef4570dd9580af"
else:
%fingerprint = "26c711f966ead295072a88536713c6a670127a6a"
%agent-port = 6790
%encoding = "UTF-8"
@
@[components]
%bcfg2 = "https://bcfg2.adm.crans.org:6789"
%encoding = "UTF-8"