Puppet Class: dokuwiki

Inherits:
dokuwiki::params
Defined in:
manifests/init.pp

Summary

This module manages and install dokuwiki.

Overview

dokuwiki

This module manages and install dokuwiki.

Examples:

class { 'dokuwiki':
  wiki_title => 'My awesome dokuwiki'
}

Parameters:

  • wiki_title (String)

    The title of this wiki, will be displayed on all the pages.

  • admin_user (String) (defaults to: $dokuwiki::params::admin_user)

    The username of the admin user, can be left empty if default_acl is open

  • admin_passwordhash (String) (defaults to: $dokuwiki::params::admin_password)

    The password hash of the admin user. To generate the hash use the mkpasswd, which is part of the whois package. Generate the password using the following command: mkpasswd -m sha-512 -s <<< YourPass

  • admin_real_name (String) (defaults to: $dokuwiki::params::admin_real_name)

    The real name of the admin user

  • admin_email (String) (defaults to: $dokuwiki::params::admin_email)

    The e-mail adres of the admin user

  • admin_groups (Array) (defaults to: $dokuwiki::params::admin_groups)

    An array of group for the admin user.

  • manage_webserver (Boolean) (defaults to: $dokuwiki::params::manage_webserver)

    If enabled (default), this module will also manages and installs apache

  • manage_php (Boolean) (defaults to: $dokuwiki::params::manage_php)

    If enabled (default), this module also manages and installs php

  • lang (String) (defaults to: $dokuwiki::params::lang)

    The language of the dokuwiki

  • license (String) (defaults to: $dokuwiki::params::license)

    The default license used for all the content placed on the dokuwiki

  • useacl (Numeric) (defaults to: $dokuwiki::params::useacl)

    If set to 1 the ACL module is enable and the dokuwiki will use the acl.auth.php config file

  • default_acl (Enum['public', 'open', 'closed']) (defaults to: $dokuwiki::params::default_acl)

    Specifiy the default acl. Open means: anyone can edit, Public means: anyone can view; users can edit, Closed means: only users can view and edit

  • replace_acl (Boolean) (defaults to: $dokuwiki::params::replace_acl)

    If set, this module will replace contents of the ACL, possibly revering changes done in the webinterface. Dokuwiki does not recommend this.

  • superuser (String) (defaults to: $dokuwiki::params::superuser)

    This variable determines which user or group defines the super admins

  • disableactions (String) (defaults to: $dokuwiki::params::disableactions)

    This variable can be used to disable specific actions: like registering. See https://www.dokuwiki.org/config:disableactions for more information



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'manifests/init.pp', line 32

class dokuwiki (
  String $wiki_title,
  String $admin_user = $dokuwiki::params::admin_user,
  String $admin_passwordhash = $dokuwiki::params::admin_password,
  String $admin_real_name = $dokuwiki::params::admin_real_name,
  String $admin_email = $dokuwiki::params::admin_email,
  Array $admin_groups = $dokuwiki::params::admin_groups,
  Boolean $manage_webserver = $dokuwiki::params::manage_webserver,
  Boolean $manage_php = $dokuwiki::params::manage_php,
  String $lang = $dokuwiki::params::lang,
  String $license = $dokuwiki::params::license,
  Numeric $useacl = $dokuwiki::params::useacl,
  Enum['public', 'open', 'closed'] $default_acl = $dokuwiki::params::default_acl,
  Boolean $replace_acl = $dokuwiki::params::replace_acl,
  String $superuser = $dokuwiki::params::superuser,
  String $disableactions = $dokuwiki::params::disableactions,
) inherits dokuwiki::params {
  class {'dokuwiki::install':}
  -> class {'dokuwiki::config':}
  -> class {'dokuwiki::service':}
}