Puppet Class: role::huggle

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

Overview

Class: role::huggle

Provision build environment for Huggle.

Clones the Huggle git repository and installs libraries needed for development and testing. See dev.wiki.local.wmftest.net:8080/wiki/VagrantRoleHuggle for details.



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/huggle.pp', line 7

class role::huggle {
    include ::mwv

    require_package(
        'libqt4-dev',
        'libqt4-webkit',
        'libqt4-network',
        'qt4-qmake',
        'libqtwebkit-dev',
        'libqt4-dev-bin',
        'qt4-dev-tools',
    )

    git::clone { 'huggle':
        directory => "${::mwv::services_dir}/huggle",
        remote    => 'https://github.com/huggle/huggle3-qt-lx.git',
    }

    # Add some documentation for developers
    mediawiki::import::text { 'VagrantRoleHuggle':
        content => template('role/huggle/VagrantRoleHuggle.wiki.erb'),
    }
}