~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/config/ivle-spec.conf

  • Committer: William Grant
  • Date: 2009-05-26 02:10:08 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526021008-hnka598yacu5w6da
Always set isdir = False in the file browser template filling.

Previously we used os.path.isdir outside the jail, which was terribly
unreliable and prone to crashing. We should do it properly once we can get
server-side access to the jails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
34
share = string(default="${prefix}/share/ivle")
 
35
 
 
36
[[jails]]
 
37
mounts = string(default="${data}/jailmounts")
 
38
src = string(default="${data}/jails")
 
39
template = string(default="${src}/__base__")
 
40
template_build = string(default="${src}/__base_build__")
 
41
 
 
42
[[svn]]
 
43
base = string(default="${data}/svn")
 
44
conf = string(default="${base}/svn.conf")
 
45
group_conf = string(default="${base}/svn-group.conf")
 
46
repo_path = string(default="${base}/repositories")
 
47
auth_ivle = string(default="${base}/ivle.auth")
 
48
 
 
49
[media]
 
50
version = string(default=None)
 
51
 
 
52
[[externals]]
 
53
jquery = string(default="/usr/share/javascript/jquery")
 
54
 
 
55
[database]
 
56
host = string(default="localhost")
 
57
port = integer(default=5432)
 
58
name = string(default="ivle")
 
59
username = string
 
60
password = string
 
61
 
 
62
[auth]
 
63
modules = string_list(default=list())
 
64
ldap_url = string(default=None)
 
65
ldap_format_string = string(default=None)
 
66
subject_pulldown_modules = string_list(default=list())
 
67
 
 
68
[usrmgt]
 
69
host = string(default="localhost")
 
70
port = integer(default=2178)
 
71
magic = string
 
72
 
 
73
[jail]
 
74
devmode = boolean(default=False)
 
75
suite = string(default="hardy")
 
76
extra_sources = string_list(default=list())
 
77
extra_packages = string_list(default=list())
 
78
extra_keys = string(default=None) # Cannot have triple-quoted list members.
 
79
 
 
80
# user_info is for jail-specific settings for the user who owns the jail
 
81
# (XXX This should be in a user-specific place but since we're worried a user
 
82
# may delete his/her .conf file, we put it here for now).
 
83
[user_info]
 
84
login = string(default=None)
 
85
svn_pass = string(default=None)