From 55bd94015e88f8f7f80749272f74f0c186f62614 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Sun, 26 Dec 2010 19:37:55 +0200 Subject: [PATCH] Documented wiki module --- wiki/manifests/init.pp | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/wiki/manifests/init.pp b/wiki/manifests/init.pp index 3e41f73..67bee7e 100644 --- a/wiki/manifests/init.pp +++ b/wiki/manifests/init.pp @@ -1,3 +1,10 @@ +# Install MoinMoin. +# +# === Global variables +# +# $wiki_moin_version: +# MoinMoin version number. +# class wiki::moin { 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 { - if !$wiki_gwiki_revision { + if !$wiki_graphingwiki_revision { fail("\$wiki_graphingwiki_revision must be set.") } @@ -49,6 +63,8 @@ class wiki::graphingwiki::common { } +# Install Graphingwiki. +# class wiki::graphingwiki inherits wiki::graphingwiki::common { 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 { 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 { 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 { include cairo::python