Puppet Class: openstack::designate::service::ussuri

Defined in:
modules/openstack/manifests/designate/service/ussuri.pp

Overview



1
2
3
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
# File 'modules/openstack/manifests/designate/service/ussuri.pp', line 1

class openstack::designate::service::ussuri
{
    # this class seems simple enough to don't require per-debian release split
    # now, will revisit later
    require "openstack::serverpackages::ussuri::${::lsbdistcodename}"

    $packages = [
        'designate-sink',
        'designate-common',
        'designate-mdns',
        'designate',
        'designate-api',
        'designate-doc',
        'designate-central',
        'python-git',
        'python3-git',
    ]

    package { $packages:
        ensure => 'present',
    }

    # Hack to fix domain deletion
    # Upstream bug: https://bugs.launchpad.net/designate/+bug/1880230
    # This may be fixed upstream in V
    file { '/usr/lib/python3/dist-packages/designate/backend/impl_pdns4.py':
        ensure => 'present',
        owner  => 'root',
        group  => 'root',
        mode   => '0644',
        source => 'puppet:///modules/openstack/ussuri/designate/hacks/impl_pdns4.py';
    }
}