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.

1

www.mediawiki.org/wiki/Extension:PageViewInfo



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

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'
    }
}