Puppet Class: profile::microsites::research

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

Overview

SPDX-License-Identifier: Apache-2.0 research.wikimedia.org (T183916)

Parameters:

  • server_name (Stdlib::Fqdn) (defaults to: lookup('profile::microsites::research::server_name'))
  • server_admin (String) (defaults to: lookup('profile::microsites::research::server_admin'))


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

class profile::microsites::research(
  Stdlib::Fqdn $server_name = lookup('profile::microsites::research::server_name'),
  String $server_admin = lookup('profile::microsites::research::server_admin'),
) {

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

    wmflib::dir::mkdir_p('/srv/org/wikimedia/research')

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

}