Documented wiki module
This commit is contained in:
parent
db32b3bee6
commit
55bd94015e
1 changed files with 31 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
# Install MoinMoin.
|
||||||
|
#
|
||||||
|
# === Global variables
|
||||||
|
#
|
||||||
|
# $wiki_moin_version:
|
||||||
|
# MoinMoin version number.
|
||||||
|
#
|
||||||
class wiki::moin {
|
class wiki::moin {
|
||||||
|
|
||||||
if !$wiki_moin_version {
|
if !$wiki_moin_version {
|
||||||
|
@ -34,9 +41,16 @@ class wiki::moin {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Fetch graphingwiki from svn.
|
||||||
|
#
|
||||||
|
# === Global variables
|
||||||
|
#
|
||||||
|
# $wiki_gwiki_revision:
|
||||||
|
# Graphingwiki revision.
|
||||||
|
#
|
||||||
class wiki::graphingwiki::common {
|
class wiki::graphingwiki::common {
|
||||||
|
|
||||||
if !$wiki_gwiki_revision {
|
if !$wiki_graphingwiki_revision {
|
||||||
fail("\$wiki_graphingwiki_revision must be set.")
|
fail("\$wiki_graphingwiki_revision must be set.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,6 +63,8 @@ class wiki::graphingwiki::common {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Install Graphingwiki.
|
||||||
|
#
|
||||||
class wiki::graphingwiki inherits wiki::graphingwiki::common {
|
class wiki::graphingwiki inherits wiki::graphingwiki::common {
|
||||||
|
|
||||||
python::setup::install { "/usr/local/src/graphingwiki/graphingwiki":
|
python::setup::install { "/usr/local/src/graphingwiki/graphingwiki":
|
||||||
|
@ -58,6 +74,8 @@ class wiki::graphingwiki inherits wiki::graphingwiki::common {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Install Opencollab.
|
||||||
|
#
|
||||||
class wiki::opencollab inherits wiki::graphingwiki::common {
|
class wiki::opencollab inherits wiki::graphingwiki::common {
|
||||||
|
|
||||||
python::setup::install { "/usr/local/src/graphingwiki/opencollab":
|
python::setup::install { "/usr/local/src/graphingwiki/opencollab":
|
||||||
|
@ -67,6 +85,8 @@ class wiki::opencollab inherits wiki::graphingwiki::common {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Install collab.
|
||||||
|
#
|
||||||
class wiki::collab inherits wiki::graphingwiki::common {
|
class wiki::collab inherits wiki::graphingwiki::common {
|
||||||
|
|
||||||
python::setup::install { "/usr/local/src/graphingwiki/collab":
|
python::setup::install { "/usr/local/src/graphingwiki/collab":
|
||||||
|
@ -76,6 +96,16 @@ class wiki::collab inherits wiki::graphingwiki::common {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Configure collab server.
|
||||||
|
#
|
||||||
|
# === Global variables
|
||||||
|
#
|
||||||
|
# $wiki_datadir:
|
||||||
|
# Directory for wiki data. Defaults to /srv/wikis.
|
||||||
|
#
|
||||||
|
# $wiki_collab_fqdn:
|
||||||
|
# FQDN of collab virtual host. Defaults to $homename.
|
||||||
|
#
|
||||||
class wiki::collab::base {
|
class wiki::collab::base {
|
||||||
|
|
||||||
include cairo::python
|
include cairo::python
|
||||||
|
|
Loading…
Add table
Reference in a new issue