Puppet Class: profile::installserver::tftp

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

Overview



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'modules/profile/manifests/installserver/tftp.pp', line 21

class profile::installserver::tftp () {

    ensure_packages('tftp')

    class { 'install_server::tftp_server': }

    firewall::service { 'tftp':
        proto    => 'udp',
        port     => 69,
        src_sets => ['PRODUCTION_NETWORKS', 'MGMT_NETWORKS']
    }

    backup::set { 'srv-tftpboot': }

    nrpe::monitor_service { 'atftpd':
        description  => 'TFTP service',
        nrpe_command => '/usr/lib/nagios/plugins/check_procs -c 1:1 -u nobody --ereg-argument-array=\'.*/usr/sbin/atftpd .*\'',
        notes_url    => 'https://wikitech.wikimedia.org/wiki/Monitoring/atftpd',
    }
}