Forge Home


This module manages and install dokuwiki.


4,803 latest version

5.0 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

  • 0.3.2 (latest)
  • 0.3.1
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Mar 8th 2019
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0
  • ,
This module has been deprecated by its author since Feb 12th 2021.

The author has suggested fancyolaya-dokuwiki as its replacement.

Start using this module


zyronix/dokuwiki — version 0.3.2 Mar 8th 2019


Table of Contents

  1. Description
  2. Setup - The basics of getting started with dokuwiki
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module


This module manages and install dokuwiki! (https://

Currently it is still in development. There is another dokuwiki module on the forge, but it is not being maintained and it is not forkable because no license is supplied.

This module should: install, manage (config files), secure and offer enough functionality to run dokuwiki in production.


  • Tested and developed for Debian 9 (there are plans to support more OSses).
  • By default it uses apache as a webserver, but this can be disabled.

If you are missing any features in this module, please open an issue or write a pull request.


What dokuwiki affects

By default dokuwiki affects:

  • Dokuwiki directory
  • Apache service and config
  • PHP Config
  • Dokuwiki configuration files (local, acl, users)

Beginning with dokuwiki

To install Dokuwiki declare the dokuwiki class:

class { 'dokuwiki': 
  wiki_title => 'Awesome wiki!',
  • This will install dokuwiki with the latest tar.gz from the dokuwiki website (stable version).
  • Also it will install apache and php.
  • Create an apache vhost pointing the the extracted dokuwiki folder.
  • Configure dokuwiki to NOT use authentication.


A beter way to use the dokuwiki is of course to secure it (enable ACLs) and not use the default completly open schema. For this you can specify the 'default_acl' option. See #references for more details on this option, but in general a more secure configuration looks like this:

 class {'dokuwiki':
   wiki_title         => 'Wiki',
   admin_user         => 'admin',
   admin_passwordhash => '$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0', # Which is hashed and salted: admin
   default_acl        => 'public',

It is not recommended by dokuwiki to modify the ACLs outside of the dokuwiki webinterface. So, by default this module does not overwrite any acls; it only supplies one for installation.

To create any additional users: use the dokuwiki::user defined type:

   dokuwiki::user { 'admin':
     passwordhash => '$1$4fd0ad31$.cId7p1uxI4a.RcrH81On0',
     real_name    => 'admin',
     email        => 'root@localhost',
     groups       => ['user', 'admin'],


Currently the module is in development. I only tested it on Debian, but I aim to support more versions.


To help development, please make sure you use PDK for the development of new feature and create / run tests. Run the acc tests with the follow command:

pdk bundle
pdk bundle exec rake spec_prep
pdk bundle exec rspec spec/defines/user_spec.rb
pdk bundle exec rake beaker

And update the reference documentation when new options have been added:

puppet strings generate --format markdown