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

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

    mediawiki::extension { 'GrowthExperiments':
        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',
    }
}