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

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

Overview

SPDX-License-Identifier: Apache-2.0

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

Scripts used by the authdns-update system



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

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
    ensure_packages('python3-git')
    ensure_packages('python3-jinja2')

    # And this is needed by 'authdns-update' itself
    ensure_packages('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',
    }
}