Resource Type: dokuwiki_user

Defined in:
lib/puppet/type/dokuwiki_user.rb
Providers:
ruby

Overview

A resource to manage dokuwiki users.

The provider will attempt to locate the dokuwiki installation and set the entries in the users.auth.php file as appropriate. If there is more than one dokuwiki install on the node, it is recommended to explicitly supply the instance_dir attribute.

Passwords can be given as either raw values (e.g. perhaps retrieved from hiera) or as encrypted strings. Dokuwiki uses SMD5 hashes by default, so

Example usage:

dokuwiki_user { ‘admin’:

fullname     => 'System Administrator',
email        => 'admin@host.com',
password     => 'supersecret',
groups       => 'user,admin',
instance_dir => '/opt/www/dokuwiki',

}

Properties

  • email

    The user’s email address

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • fullname

    The user’s real name

  • groups (defaults to: user)

    A comma-separated list of groups

  • instance_dir

    The path to the instance’s dokuwiki directory

  • password

    The user’s unencrypted password

Parameters

  • name (namevar)

    Login name - must be unique

    Supported values:
    • /\w*/
  • provider

    The specific backend to use for this ‘dokuwiki_user` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.