Puppet Class: profile::installserver::http

Defined in:
modules/profile/manifests/installserver/http.pp

Overview

SPDX-License-Identifier: Apache-2.0 Installs a web server for the install server



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

class profile::installserver::http {

    include install_server::web_server # lint:ignore:wmf_styleguide

    class { '::sslcert::dhparam': }

    acme_chief::cert { 'apt':
        puppet_rsc =>  Exec['nginx-reload'],
    }

    ferm::service { 'install_http':
        proto => 'tcp',
        port  => [80,443],
    }

    monitoring::service { 'http':
        description   => 'HTTP',
        check_command => 'check_http',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/APT_repository',
    }
}