bcfg2.conf -> Python + serveur alternatif pour les tests
darcs-hash:20080209154327-af139-c843208c52d836363e55c737864499222189c44c.gz
This commit is contained in:
parent
548b89edd5
commit
886d5423b7
4 changed files with 30 additions and 31 deletions
|
@ -113,11 +113,13 @@
|
||||||
|
|
||||||
<Group name="bcfg2tmp0" profile="true">
|
<Group name="bcfg2tmp0" profile="true">
|
||||||
<Group name="crans"/>
|
<Group name="crans"/>
|
||||||
|
<Group name="test"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Group name="bcfg2tmp1" profile="true">
|
<Group name="bcfg2tmp1" profile="true">
|
||||||
<Group name="crans"/>
|
<Group name="crans"/>
|
||||||
<Group name="mail-mx-secondary"/>
|
<Group name="mail-mx-secondary"/>
|
||||||
|
<Group name="test"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<!-- +=================+ -->
|
<!-- +=================+ -->
|
||||||
|
|
28
Python/etc/bcfg2.conf
Normal file
28
Python/etc/bcfg2.conf
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# -*- 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,TGenshi,Rules,Python"
|
||||||
|
%svn = "no"
|
||||||
|
|
||||||
|
@[statistics]
|
||||||
|
%sendmailpath = "/usr/sbin/sendmail"
|
||||||
|
|
||||||
|
@[communication]
|
||||||
|
%protocol = "xmlrpc/ssl"
|
||||||
|
%password = secrets.bcfg2_password
|
||||||
|
%key = "/etc/bcfg2.key"
|
||||||
|
%fingerprint = "2f110783f4cbd14e45a35de518ddbaea999a03ad"
|
||||||
|
%agent-port = 6790
|
||||||
|
|
||||||
|
@[components]
|
||||||
|
if has("test"):
|
||||||
|
%bcfg2 = "https://vert.adm.crans.org:6789"
|
||||||
|
else:
|
||||||
|
%bcfg2 = "https://bcfg2tmp1.adm.crans.org:6789"
|
|
@ -1,3 +0,0 @@
|
||||||
<FileInfo>
|
|
||||||
<Info owner="root" group="root" perms="0600"/>
|
|
||||||
</FileInfo>
|
|
|
@ -1,28 +0,0 @@
|
||||||
# -*- coding: utf-8; mode: conf-unix -*-
|
|
||||||
#
|
|
||||||
# Fichier gere par BCfg2
|
|
||||||
#
|
|
||||||
# Fichier de configuration de bcfg2.
|
|
||||||
{% include /var/lib/bcfg2/etc/genshi/utils.txt %}\
|
|
||||||
{% include /var/lib/bcfg2/etc/genshi/secrets.txt %}\
|
|
||||||
|
|
||||||
{% if has("bcfg2-server") %}\
|
|
||||||
[server]
|
|
||||||
repository = /var/lib/bcfg2
|
|
||||||
structures = Bundler,Base
|
|
||||||
generators = SSHbase,Cfg,TGenshi,Rules,Python
|
|
||||||
svn=no
|
|
||||||
{% end %}\
|
|
||||||
|
|
||||||
[statistics]
|
|
||||||
sendmailpath = /usr/sbin/sendmail
|
|
||||||
|
|
||||||
[communication]
|
|
||||||
protocol = xmlrpc/ssl
|
|
||||||
password = $bcfg2_password
|
|
||||||
key = /etc/bcfg2.key
|
|
||||||
fingerprint = 2f110783f4cbd14e45a35de518ddbaea999a03ad
|
|
||||||
agent-port = 6790
|
|
||||||
|
|
||||||
[components]
|
|
||||||
bcfg2 = https://vert.adm.crans.org:6789
|
|
Loading…
Add table
Add a link
Reference in a new issue