Puppet Class: role::pageviewinfo

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

Overview

Class: role::pageviewinfo

Installs the PageViewInfo extension which reads pageview data from some external API and adds it to the MediaWiki API and the pageinfo action.

Also installs a simple fake pageview service for testing.



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'puppet/modules/role/manifests/pageviewinfo.pp', line 8

class role::pageviewinfo {
    include role::graph

    mediawiki::extension { 'PageViewInfo':
        settings => {
            wgPageViewInfoWikimediaDomain => 'en.wikipedia.org',
        },
    }

    mediawiki::import::text { 'VagrantRolePageViewInfo':
        source => 'puppet:///modules/role/pageviewinfo/VagrantRolePageViewInfo.wiki'
    }
}