moinmoin

Manage MoinMoin wikis

jpds

jpds

8,262 downloads

8,262 latest version

3.6 quality score

Version information

  • 1.0.0 (latest)
released Feb 21st 2015

Start using this module

Documentation

jpds/moinmoin — version 1.0.0 Feb 21st 2015

puppet-moinmoin

This Puppet module can be used to deploy Moin Moin wikis.

Build Status

Example usage

A single wiki may be configured on a server as such:

  class { 'moinmoin':
    wikis => {
      # Wiki / URL regex for farmconfig.py.
      'wiki' => '.*',
    }
  }

  moinmoin::wiki { 'wiki':
    sitename            => 'Wiki',
    interwikiname       => 'Wiki',
    data_dir            => '/srv/wiki/data/',
    data_underlay_dir   => '/srv/wiki/underlay/',
    httpd_external_auth => false,
  }

This module does not configure Apache or the like, it is expected that this will be handled by their respective modules. An example for Apache may be found below:

  class { 'apache':
    default_mods        => false,
    default_confd_files => false,
    mpm_module          => 'prefork',
  }

  include 'apache::mod::wsgi'

  apache::vhost { 'wiki.example.com-nonssl':
    servername => 'wiki.example.com',
    port    => '80',
    docroot    => '/var/www',

    wsgi_daemon_process         => 'wsgi',
    wsgi_process_group          => 'wsgi',
    wsgi_script_aliases         => { '/' => '/usr/share/moin/server/moin.wsgi' },
    wsgi_daemon_process_options =>
      { user  => 'www-data',
        group => 'www-data',
        processes    => '4',
        display-name => 'moin-wsgi',
      },
  }

License

See LICENSE file.