Puppet Class: role::graph

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

Overview

Class: role::graph

Configures Graph extension



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'puppet/modules/role/manifests/graph.pp', line 3

class role::graph {
    include ::role::jsonconfig

    mediawiki::extension { 'Graph':
        settings => {
            wgGraphDefaultVegaVer => 2,
            wgGraphAllowedDomains => {
                http           => [
                    "localhost${::port_fragment}",
                    "127.0.0.1${::port_fragment}",
                    "dev.wiki.local.wmftest.net${::port_fragment}",
                    'wmflabs.org',
                    'vega.github.io',
                ],
                https          => [
                    'mediawiki.org',
                    'wikibooks.org',
                    'wikidata.org',
                    'wikimedia.org',
                    'wikimediafoundation.org',
                    'wikinews.org',
                    'wikipedia.org',
                    'wikiquote.org',
                    'wikisource.org',
                    'wikiversity.org',
                    'wikivoyage.org',
                    'wiktionary.org',
                ],
                wikirawupload  => [
                    'upload.wikimedia.org',
                    'upload.beta.wmflabs.org',
                    "localhost${::port_fragment}",
                    "dev.wiki.local.wmftest.net${::port_fragment}",
                ],
                wikidatasparql => [
                    'query.wikidata.org',
                    'wdqs-test.wmflabs.org',
                ],
                geoshape       => [
                    'maps.wikimedia.org',
                ],
            },
            wgGraphAllowHttp      => true,
        },
    }
}