Puppet Class: role::moddoc

Defined in:
puppet/modules/role/manifests/moddoc.pp

Overview

Class: role::moddoc

The ModDoc extension provides functionality to make human readable documentation for Lua modules, that is the Scribunto extension. Such documentation can be reused through a parser function.



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'puppet/modules/role/manifests/moddoc.pp', line 5

class role::moddoc {
    include ::role::scribunto

    mediawiki::extension { 'ModDoc':
        remote   => 'https://github.com/jeblad/ModDoc.git',
        require  => Mediawiki::Extension['Scribunto'],
        composer => true,
    }

    mediawiki::import::text { 'VagrantRoleModDoc':
        source => 'puppet:///modules/role/moddoc/VagrantRoleModDoc.wiki',
    }
}