Puppet Class: profile::toolforge::static

Defined in:
modules/profile/manifests/toolforge/static.pp

Overview

Parameters:

  • web_domain (Stdlib::Fqdn) (defaults to: lookup('profile::toolforge::web_domain', {default_value => 'tools.wmflabs.org'}))


1
2
3
4
5
6
7
8
# File 'modules/profile/manifests/toolforge/static.pp', line 1

class profile::toolforge::static (
    Stdlib::Fqdn $web_domain = lookup('profile::toolforge::web_domain', {default_value => 'tools.wmflabs.org'}),
) {
    $resolver             = join($::nameservers, ' ')
    nginx::site { 'static-server':
        content => template('profile/toolforge/static-server.conf.erb'),
    }
}