Puppet Class: dokuwiki::params

Inherited by:
dokuwiki
Defined in:
manifests/params.pp

Summary

Default variable logic for dokuwiki

Overview

dokuwiki::params

Default variable logic for dokuwiki

Examples:

This class should not be called


9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'manifests/params.pp', line 9

class dokuwiki::params {
  $manage_webserver = true
  $manage_php = true

  case $facts['os']['name'] {
    /^(Debian|Ubuntu)$/: {
      $php_version = '7.0'
      $install_path = '/var/www'
      $user = 'www-data'
      $group = 'www-data'
    }
    default: {
      fail('OS not supported')
    }
  }

  $tmp_dir = '/tmp'
  $download_link = 'https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz'
  $archive = 'dokuwiki-stable.tgz'

  $lang = 'en'
  $license = 'cc-by-sa'
  $useacl = 1
  $superuser = '@admin'
  $disableactions = ''
  $admin_password = ''
  $admin_user = ''
  $admin_real_name = ''
  $admin_email = ''
  $admin_groups = ['admin', 'user']
  $default_acl = 'open' # public or closed
  $replace_acl = false
}