# defaults for module: srv-trac
#
# cron_update_time must be in the time format used by cron, used to
# periodically run the trac update process (bazaar checkouts update),
# refer to cron manpages for infos; the example below run the update
# process every 10 minutes each day from monday to saturday
#
#	*/10 * * * 0-5
#
# the default shown here is to update every hour, from mon to sat
# 
[trac-server]
  datadir		::path.workdir::/trac
  user			www-data
  group			admin
  user-group		www-data:admin
  cron_update_time	1 * * * 0-5
  index_title		Trac Index on server: ::network.hostname::.::network.domain::


# defaults for trac instances
#
[trac]
  site_prefix	trac-			# eg: projects/ -- DO NOT USE /trac

  # auth infos
  #
  # ldap can authenticate without administrative bindings, so
  # user and password (that refer to admin access) are not used
  #
  # instead of searching for plain "?uid", we can restrict the
  # search to a subtree, the default is look under ou=People,
  # so system and MailUsers are not allowed to access trac
  #
  ldap_url	ldap://::ldap.server::/ou=People,::ldap.base::?uid
  ldap_user	NOTUSED			# eg: ldap.admin
  ldap_password	NOTUSED			# eg: ldap.admin_password

  company_name	::customer.name::
  company_url
  company_logo
  email		::contact.webmaster.email::
  smtp_server 	::service.mail::


  # those aren't used at the moment
  #
  dbtype	sqlite			# sqlite, mysql or pgsql
  allow		::perms.applications_iplist::
  db_server	::service.db::
  db_port	5432			# for postgres
  #db_port	3306			# for mysql
