
Il fallait mettre la version svn et modifier bcfg2 pour avoir les trucs bien mais maintenant on peut faire mieux avec le plugin Python donc ça sert à rien de s'embeter. darcs-hash:20080410185335-c41ad-37542a59af3f3506d5b7b4f11164742deae6d83b.gz
31 lines
726 B
Python
31 lines
726 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"
|
|
%svn = "no"
|
|
|
|
@[statistics]
|
|
%sendmailpath = "/usr/sbin/sendmail"
|
|
|
|
@[communication]
|
|
%protocol = "xmlrpc/ssl"
|
|
%password = secrets.bcfg2_password
|
|
%key = "/etc/bcfg2.key"
|
|
if has("test"):
|
|
%fingerprint = "c77f8e7ad96eba77f303afe5a5ef4570dd9580af"
|
|
else:
|
|
%fingerprint = "2f110783f4cbd14e45a35de518ddbaea999a03ad"
|
|
%agent-port = 6790
|
|
|
|
@[components]
|
|
if has("test"):
|
|
%bcfg2 = "https://bcfg2tmp1.adm.crans.org:6789"
|
|
else:
|
|
%bcfg2 = "https://vert.adm.crans.org:6789"
|