Puppet Class: authdns::scripts

Defined in:
modules/authdns/manifests/scripts.pp

Overview

Class authdns::monitoring

Scripts used by the authdns system. These used to be in a package, but we don't do that anymore and provisioning them here instead.



5
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/authdns/manifests/scripts.pp', line 5

class authdns::scripts {
    # These are needed by gen-zones.py in the ops/dns repo, which
    # authdns-local-update will indirectly execute
    require_package('python3-git')
    require_package('python3-jinja2')

    file { '/usr/local/sbin/authdns-update':
        ensure => present,
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => "puppet:///modules/${module_name}/authdns-update",
    }

    file { '/usr/local/sbin/authdns-local-update':
        ensure => present,
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => "puppet:///modules/${module_name}/authdns-local-update",
    }

    file { '/usr/local/sbin/authdns-git-pull':
        ensure => present,
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => "puppet:///modules/${module_name}/authdns-git-pull",
    }

    file { '/usr/local/bin/authdns-check-active-passive':
        ensure => 'present',
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
        source => "puppet:///modules/${module_name}/authdns-check-active-passive",
    }
}