Puppet Class: profile::microsites::security

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

Overview

Parameters:

  • server_name (Any) (defaults to: lookup('profile::microsites::security::server_name'))
  • server_admin (Any) (defaults to: lookup('profile::microsites::security::server_admin'))


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

class profile::microsites::security(
  $server_name = lookup('profile::microsites::security::server_name'),
  $server_admin = lookup('profile::microsites::security::server_admin'),
) {

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

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

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

}