1092.1.15
by Matt Giuca
Added config validation spec: ivle/config/ivle-spec.conf. |
1 |
# IVLE - Informatics Virtual Learning Environment |
2 |
# Copyright (C) 2007-2009 The University of Melbourne |
|
3 |
#
|
|
4 |
# This program is free software; you can redistribute it and/or modify |
|
5 |
# it under the terms of the GNU General Public License as published by |
|
6 |
# the Free Software Foundation; either version 2 of the License, or |
|
7 |
# (at your option) any later version. |
|
8 |
#
|
|
9 |
# This program is distributed in the hope that it will be useful, |
|
10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
# GNU General Public License for more details. |
|
13 |
#
|
|
14 |
# You should have received a copy of the GNU General Public License |
|
15 |
# along with this program; if not, write to the Free Software |
|
16 |
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|
17 |
||
18 |
# Author: Matt Giuca, Will Grant |
|
19 |
#
|
|
20 |
# This file defines the configuration spec for the ivle.conf file. |
|
21 |
# This is used by configobj to validate and convert configuration options. |
|
22 |
# Detailed comments can be found in the generated config files. |
|
23 |
||
24 |
[urls] |
|
25 |
root = string(default="/") |
|
26 |
public_host = string |
|
27 |
svn_addr = string |
|
28 |
||
29 |
[paths] |
|
30 |
prefix = string(default="/usr/local") |
|
31 |
data = string(default="/var/lib/ivle") |
|
32 |
logs = string(default="/var/log/ivle") |
|
33 |
||
1092.1.23
by William Grant
Add media file versioning. If a media version is specified in the |
34 |
[media] |
35 |
version = string(default=None) |
|
36 |
||
1158
by William Grant
Expose jQuery in our URL space. |
37 |
[[externals]] |
38 |
jquery = string(default="/usr/share/javascript/jquery") |
|
39 |
||
1092.1.15
by Matt Giuca
Added config validation spec: ivle/config/ivle-spec.conf. |
40 |
[database] |
41 |
host = string(default="localhost") |
|
42 |
port = integer(default=5432) |
|
43 |
name = string(default="ivle") |
|
44 |
username = string |
|
45 |
password = string |
|
46 |
||
47 |
[auth] |
|
48 |
modules = string_list(default=list()) |
|
49 |
ldap_url = string(default=None) |
|
50 |
ldap_format_string = string(default=None) |
|
51 |
subject_pulldown_modules = string_list(default=list()) |
|
52 |
||
53 |
[usrmgt] |
|
54 |
host = string(default="localhost") |
|
55 |
port = integer(default=2178) |
|
56 |
magic = string |
|
1092.1.16
by William Grant
Reimplement setup/buildjail.sh in Python. This means that sites can configure |
57 |
|
58 |
[jail] |
|
1099.1.179
by William Grant
ivle-buildjail now only copies the system's IVLE files if jail/devmode |
59 |
devmode = boolean(default=False) |
1092.1.22
by William Grant
Allow configuration of the suite used for debootstrapping a new jail. |
60 |
suite = string(default="hardy") |
1092.1.16
by William Grant
Reimplement setup/buildjail.sh in Python. This means that sites can configure |
61 |
extra_sources = string_list(default=list()) |
62 |
extra_packages = string_list(default=list()) |
|
1092.1.18
by William Grant
Add a default (None) to jail.extra_keys in the config spec. |
63 |
extra_keys = string(default=None) # Cannot have triple-quoted list members. |