Forge Home

moinmoin

Manage MoinMoin wikis

9,147 downloads

9,147 latest version

3.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.0 (latest)
released Feb 21st 2015

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jpds-moinmoin', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jpds-moinmoin
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jpds-moinmoin --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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.