
C'était juste pour les agents, mais les agents ne servent à rien (ssh les remplace bien mieux). darcs-hash:20081219030035-af139-600b2b5c940a26e17d48c55c891964539e728d98.gz
34 lines
805 B
Python
34 lines
805 B
Python
# -*- coding: utf-8; mode: python -*-
|
|
|
|
include("secrets")
|
|
|
|
header("Fichier de configuration de bcfg2")
|
|
|
|
if has("bcfg2-server"):
|
|
@[server]
|
|
%repository = "/var/lib/bcfg2"
|
|
%structures = "Bundler,Base"
|
|
%generators = "SSHbase,Cfg,Rules,Python,DebAutoPkg"
|
|
%svn = "no"
|
|
|
|
@[statistics]
|
|
%sendmailpath = "/usr/sbin/sendmail"
|
|
|
|
@[communication]
|
|
%protocol = "xmlrpc/ssl"
|
|
%password = secrets.bcfg2_password
|
|
if has("bcfg2-server"):
|
|
%key = "/etc/bcfg2.key"
|
|
if has("test"):
|
|
%fingerprint = "c77f8e7ad96eba77f303afe5a5ef4570dd9580af"
|
|
else:
|
|
%fingerprint = "2f110783f4cbd14e45a35de518ddbaea999a03ad"
|
|
%agent-port = 6790
|
|
%encoding = "UTF-8"
|
|
|
|
@[components]
|
|
if has("test"):
|
|
%bcfg2 = "https://bcfg2tmp1.adm.crans.org:6789"
|
|
else:
|
|
%bcfg2 = "https://vert.adm.crans.org:6789"
|
|
%encoding = "UTF-8"
|