Puppet Class: profile::microsites::bienvenida

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

Overview



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

class profile::microsites::bienvenida {

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

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

    git::clone { 'wikimedia/campaigns/eswiki-2018':
        ensure    => 'latest',
        source    => 'gerrit',
        directory => '/srv/org/wikimedia/bienvenida',
        branch    => 'master',
    }
}