Puppet Class: wikilabels::db_proxy

Defined in:
modules/wikilabels/manifests/db_proxy.pp

Overview

Class: wikilabels::db_proxy

Adds a hostname and ip entry to /etc/hosts for the db server

Parameters:

  • server (Any)


5
6
7
8
9
10
11
12
# File 'modules/wikilabels/manifests/db_proxy.pp', line 5

class wikilabels::db_proxy(
    $server,
) {
    host { 'wikilabels-database':
        ensure => present,
        ip     => ipresolve($server, 4, $::nameservers[0]),
    }
}