[bcfg2] Configuration du service de statistiques web
darcs-hash:20110215103814-ffbb2-ad4a8af5092c1b486235c0dcb6a30b7a44df7991.gz
This commit is contained in:
parent
8a7f195c6a
commit
e5f0182aad
3 changed files with 19 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
<ConfigFile name="/etc/default/bcfg2"/>
|
||||
<Package name="bcfg2"/>
|
||||
<Group name="bcfg2-server">
|
||||
<ConfigFile name="/etc/bcfg2-web.conf"/>
|
||||
<Package name="bcfg2-server"/>
|
||||
<Service name="bcfg2-server"/>
|
||||
<!-- Mise a jour des statistiques bcfg2 et envoi du mail -->
|
||||
|
|
12
Python/etc/bcfg2-web.conf
Normal file
12
Python/etc/bcfg2-web.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
# -*- coding: utf-8; mode: python -*-
|
||||
|
||||
header("Fichier de configuration de bcfg2, version web")
|
||||
|
||||
@[server]
|
||||
%repository = "/var/lib/bcfg2"
|
||||
%plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,DebAutoPkg,Probes,DBStats"
|
||||
%svn = "no"
|
||||
@
|
||||
@[statistics]
|
||||
%sendmailpath = "/usr/sbin/sendmail"
|
||||
%database_engine = "sqlite3"
|
|
@ -7,12 +7,16 @@ header("Fichier de configuration de bcfg2")
|
|||
if has("bcfg2-server"):
|
||||
@[server]
|
||||
%repository = "/var/lib/bcfg2"
|
||||
%plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,DebAutoPkg,Probes,Statistics"
|
||||
%plugins = "Metadata,Bundler,Base,SSHbase,Cfg,Rules,Python,DebAutoPkg,Probes,DBStats"
|
||||
%svn = "no"
|
||||
|
||||
@
|
||||
@[statistics]
|
||||
%sendmailpath = "/usr/sbin/sendmail"
|
||||
if has("bcfg2-server"):
|
||||
%database_engine = "sqlite3"
|
||||
|
||||
@
|
||||
@[communication]
|
||||
%protocol = "xmlrpc/ssl"
|
||||
%password = secrets.bcfg2_password
|
||||
|
@ -26,6 +30,7 @@ else:
|
|||
%agent-port = 6790
|
||||
%encoding = "UTF-8"
|
||||
|
||||
@
|
||||
@[components]
|
||||
%bcfg2 = "https://bcfg2.adm.crans.org:6789"
|
||||
%encoding = "UTF-8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue