From Fedora Project Wiki

Revision as of 14:13, 24 May 2008 by fp-wiki>ImportUser (Imported from MoinMoin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Plague Server Configuration

The plague server configuration can be created with default values by running plague-server and passing it a config file that doesn't exist. For example:

plague-server -c /etc/plague/server/plague-server.cfg

Will create the file /etc/plague/server/plague-server.cfg You will need to edit the file to work in your environment.

Here is an example server-config.cfg file:

[mysql Engine] 
host = dbhost.yourdomain.com
password = dbpass
user = dbuser
database = databasename

[Database] 
engine = mysql

[Directories] 
repo_dir = /local/plague/repodir
server_work_dir = /local/plague/rpmbuild
target_configs_dir = /etc/plague/targets
tmpdir = /tmp

[CVS] 
use_cvs = no

[General] 
hostname = buildserver.yourdomain.com

[SSL] 
server_key_and_cert = /etc/plague/server/certs/server_key_and_cert.pem
ca_cert = /etc/plague/server/certs/buildsystem_ca_cert.pem

[UI] 
use_ssl = yes
log_url = http://buildserver.yourdomain.com/build/logs/
guest_allowed = no
port = 8887
client_ca_cert = /etc/plague/user_ca_dir/users_ca_cert.pem

[pgdb Engine] 
host = localhost
password =
user = plague
database = plague

[sqlite Engine] 
timeout = 3
database = /etc/plague/server/jobdb

[Builders] 
use_ssl = yes
builders = build1.yourdomain.com:8888 build2.yourdomain.com:8888

[Email] 
success_emails = new_packages@yourdomain.com
email_from = buildsys@yourdomain.com
admin_emails = admin@yourdomain.com