Installs and configures Dokuwiki.
The following platforms are supported and tested:
- Ubuntu 12.04
The following cookbooks are direct dependencies:
- apt
- ark
- nginx
Add dokuwiki::default
to the run-list.
node['dokuwiki']['server_name']
- The domain name for the nginx vhostnode['dokuwiki']['dir']
- Location to install dokuwiki, by default/opt
node['dokuwiki']['version']
- Dokuwiki version to installnode['dokuwiki']['title']
- Wiki Titlenode['dokuwiki']['lang']
- Wiki Languagenode['dokuwiki']['license']
- Wiki licensenode['dokuwiki']['admin']['login']
- Admin usernode['dokuwiki']['admin']['pass']
- Admin hashed pass, you can generate it in http://sprhost.com/tools/SMD5.phpnode['dokuwiki']['admin']['name']
- Admin namenode['dokuwiki']['admin']['mail']
- Admin email addressnode['dokuwiki']['authtype']
- Authentication backend to use.node['dokuwiki']['useacl']
- Whether or not ACLs should be used.node['dokuwiki']['plugin']['authldap']['server']
- URI of directory server to use for authentication.node['dokuwiki']['plugin']['authldap']['usertree']
- Top-level directory tree node from which to perform user lookup.node['dokuwiki']['plugin']['authldap']['grouptree']
- Top-level directory tree node from which to perform group lookup.node['dokuwiki']['plugin']['authldap']['userfilter']
- User filter.node['dokuwiki']['plugin']['authldap']['groupfilter']
- Group filter.node['dokuwiki']['plugin']['authldap']['version']
- This is optional but may be required for your server.node['dokuwiki']['plugin']['authldap']['starttls']
- This enables the use of the STARTTLS command.node['dokuwiki']['plugin']['authldap']['referrals']
- This is optional and is required to be off when using Active Directory.node['dokuwiki']['plugin']['authldap']['binddn']
- Optional bind user.node['dokuwiki']['plugin']['authldap']['bindpw']
- Optional bind password.node['dokuwiki']['plugin']['authldap']['userscope']
- Limit search scope for user searches (sub|one|base).node['dokuwiki']['plugin']['authldap']['groupscope']
- Limit search scope for group searches (sub|one|base).node['dokuwiki']['plugin']['authldap']['debug']
- Debug the LDAP conversations?node['dokuwiki']['plugin']['authldap']['mapping']['name']
- Replace the content of name with first element of this named attribute.node['dokuwiki']['plugin']['authldap']['mapping']['grps']
- Replace the content of grps with what is provided in the attribute memberof and apply the regexp to every element in it.
Author:: Pablo Gutierrez del Castillo ([email protected])