Puppet Class: profile::microsites::wikiworkshop

Defined in:
modules/profile/manifests/microsites/wikiworkshop.pp

Overview

wikiworkshop.org (T242374)



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/profile/manifests/microsites/wikiworkshop.pp', line 2

class profile::microsites::wikiworkshop {

    httpd::site { 'wikiworkshop.org':
        content => template('profile/wikiworkshop/apache-wikiworkshop.org.erb'),
    }

    ensure_resource('file', '/srv/org', {'ensure' => 'directory' })
    ensure_resource('file', '/srv/org/wikimedia', {'ensure' => 'directory' })
    ensure_resource('file', '/srv/org/wikimedia/wikiworkshop', {'ensure' => 'directory' })

    git::clone { 'research/wikiworkshop':
        ensure    => 'latest',
        source    => 'gerrit',
        directory => '/srv/org/wikimedia/wikiworkshop',
        branch    => 'master',
    }
}