Version information
released Feb 21st 2015
Start using this module
Add this module to your Puppetfile:
mod 'jpds-moinmoin', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
jpds/moinmoin — version 1.0.0 Feb 21st 2015
puppet-moinmoin
This Puppet module can be used to deploy Moin Moin wikis.
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.
Dependencies
- puppetlabs/stdlib (>= 3.0.0)
The MIT License (MIT) Copyright © 2015 Jonathan Davies Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.