# -*- 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"