Puppet Class: profile::dns::auth::update::scripts

Defined in:
modules/profile/manifests/dns/auth/update/scripts.pp

Overview

Class profile::dns::auth::update::scripts

Scripts used by the authdns-update system



4
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
# File 'modules/profile/manifests/dns/auth/update/scripts.pp', line 4

class profile::dns::auth::update::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')

    # And this is needed by 'authdns-update' itself
    require_package('clustershell')

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

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

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