36 lines
828 B
Python
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"
|