Puppet Class: profile::ci::website

Defined in:
modules/profile/manifests/ci/website.pp

Overview

Website for Continuous integration

integration.wikimedia.org/



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'modules/profile/manifests/ci/website.pp', line 4

class profile::ci::website {

    scap::target { 'integration/docroot':
        deploy_user => 'deploy-ci-docroot',
    }

    # Apache configuration for integration.wikimedia.org
    httpd::site { 'integration.wikimedia.org':
        source => 'puppet:///modules/contint/apache/integration.wikimedia.org.conf'
    }

    # Static files in these docroots are in integration/docroot.git

    file { '/srv/org':
        ensure => directory,
        mode   => '0775',
        owner  => 'jenkins-slave',
        group  => 'jenkins-slave',
    }

    file { '/srv/org/wikimedia':
        ensure => directory,
        mode   => '0775',
        owner  => 'jenkins-slave',
        group  => 'jenkins-slave',
    }
    file { '/srv/org/wikimedia/integration':
        ensure => directory,
        mode   => '0775',
        owner  => 'jenkins-slave',
        group  => 'jenkins-slave',
    }

}