Puppet Class: openstack::serverpackages::mitaka::stretch

Defined in:
modules/openstack/manifests/serverpackages/mitaka/stretch.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
34
35
36
37
38
39
40
41
42
43
# File 'modules/openstack/manifests/serverpackages/mitaka/stretch.pp', line 1

class openstack::serverpackages::mitaka::stretch(
) {

    # hack, use the jessie-backports repository in stretch. This should work,
    # since jessie-backports packages are rebuilt from stretch anyway
    require openstack::commonpackages::mitaka

    # make sure we don't have libssl1.0.0 installed, and exclude
    # packages that depend on it
    package { 'libssl1.0.0':
        ensure => 'absent',
    }

    apt::pin { 'mitaka_stretch_libpq5_nojessiebpo':
        package  => 'libpq5',
        pin      => 'version 9.6.6-0*',
        priority => '-1',
    }

    apt::pin { 'mitaka_stretch_libisns0_nojessiebpo':
        package  => 'libisns0',
        pin      => 'version 0.97-1*',
        priority => '-1',
    }

    # this package is required by nova-common and neutron-common, i.e
    # cloudvirt and cloudnet servers. And we need it installed not from
    # jessie-backports, so put it here, since this class is the common place
    # for this stuff anyway
    package { 'sqlite3':
        ensure => 'present',
    }

    # cleanup: remove after some puppet cycles
    file { '/etc/apt/sources.list.d/jessie-backports-for-mitaka-on-stretch.list':
        ensure => 'absent',
    }

    # cleanup: remove after some puppet cycles
    file { '/etc/apt/sources.list.d/jessie-for-mitaka-on-stretch.list':
        ensure => 'absent',
    }
}