35 lines
733 B
Python
35 lines
733 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
|
|
@listen_all=True
|
|
|
|
@
|
|
@[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.v4.adm.crans.org:6789
|
|
@encoding=UTF-8
|