
Ignore-this: 67cdee8f32d7581493d12617ddc97bc2 Bcfg2 a subi deux releases, qui ont pas mal changé les "normes". Les balises suivntes sont remplacées : <ConfigFile> ---------------------------> <Path type="file"> <Directory> ---------------------------> <Path type="directory"> <SymLink> ---------------------------> <Path type="symlink"> etc Pour les fichiers python, désormais, on utilise plus <ConfigFile>, mais <Python> darcs-hash:20121211100127-b6762-f146f4460e9713cb59a25c33a08b551c5280f3b2.gz
34 lines
759 B
Python
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"
|