Puppet Class: profile::wmcs::services::oidentd::client

Defined in:
modules/profile/manifests/wmcs/services/oidentd/client.pp

Overview

Class: profile::wmcs::services::oidentd::client

Provision an oident service acting as a client to a proxy running on an upstram host.

Parameters:

  • proxy (Any) (defaults to: lookup('profile::wmcs::services::oidentd::client::proxy'))


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
38
39
40
41
42
# File 'modules/profile/manifests/wmcs/services/oidentd/client.pp', line 6

class profile::wmcs::services::oidentd::client (
    $proxy = lookup('profile::wmcs::services::oidentd::client::proxy'),
){
    package { 'oidentd':
        ensure => present,
    }

    file { '/etc/oidentd.conf':
        ensure  => file,
        mode    => '0444',
        owner   => 'root',
        group   => 'root',
        source  => 'puppet:///modules/profile/wmcs/oidentd/client-oidentd.conf',
        require => Package['oidentd'],
    }

    file { '/etc/oidentd_masq.conf':
        ensure  => file,
        mode    => '0444',
        owner   => 'root',
        group   => 'root',
        source  => 'puppet:///modules/profile/wmcs/oidentd/oidentd_masq.conf',
        require => Package['oidentd'],
    }

    systemd::service { 'oidentd':
        ensure    => present,
        content   => systemd_template('wmcs/services/oidentd/client/oidentd'),
        restart   => false,
        subscribe => Package['oidentd'],
    }

    ferm::service { 'oidentd':
        proto => 'tcp',
        port  => 113,
    }
}