crans_bcfg2/Python/etc/bcfg2.conf
2013-05-18 18:51:39 +02:00

34 lines
759 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,Packages,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/ssl/private/bcfg2_privatekey.pem"
%certificate = "/etc/ssl/certs/bcfg2_server.pem"
%ca = "/etc/ssl/certs/cacert.org.pem"
%agent-port = 6790
%encoding = "UTF-8"
@
@[components]
%bcfg2 = "https://bcfg2.adm.crans.org:6789"
%encoding = "UTF-8"