Puppet Class: role::growthexperiments

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

Overview

Class: role::growthexperiments

Configures GrowthExperiments, a MediaWiki extension that contains experiments by the Growth team



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
# File 'puppet/modules/role/manifests/growthexperiments.pp', line 4

class role::growthexperiments {
    require ::role::mediawiki
    include ::role::pageviewinfo
    include ::role::visualeditor
    include ::role::uls
    include ::role::guidedtour
    include ::role::echo
    include ::role::eventlogging

    mediawiki::extension { 'GrowthExperiments':
        needs_update => true,
        settings     => template('role/growthexperiments/conf.php.erb'),
    }

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

    mediawiki::import::text { 'Project:Help_Desk':
      source => 'puppet:///modules/role/growthexperiments/Project_Help_Desk.wiki',
    }

    mediawiki::user { 'Mentor1':
        password => $::mediawiki::admin_pass,
    }
    mediawiki::import::text { 'Mentors':
        source => 'puppet:///modules/role/growthexperiments/Mentors.wiki',
    }

    mediawiki::import::text { 'VagrantRoleGrowthExperiments':
        content => template( 'role/growthexperiments/VagrantRoleGrowthExperiments.wiki.erb' ),
    }
}