Puppet Class: profile::swift::proxy_tls

Defined in:
modules/profile/manifests/swift/proxy_tls.pp

Overview

Parameters:

  • ocsp_proxy (String) (defaults to: hiera('http_proxy', ''))


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

class profile::swift::proxy_tls (
    String $ocsp_proxy   = hiera('http_proxy', ''),
) {
    require ::profile::tlsproxy::instance

    tlsproxy::localssl { 'unified':
        server_name    => $::swift::proxy::proxy_service_host,
        certs          => [$::swift::proxy::proxy_service_host],
        default_server => true,
        do_ocsp        => false,
        ocsp_proxy     => $ocsp_proxy,
    }

    ferm::service { 'swift-proxy-https':
        proto   => 'tcp',
        notrack => true,
        port    => '443',
    }
}