Puppet Class: openstack::clientpackages::vms::wallaby::bullseye

Defined in:
modules/openstack/manifests/clientpackages/vms/wallaby/bullseye.pp

Overview

this is the class for use by VM instances in Cloud VPS. Don't use for HW servers



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
# File 'modules/openstack/manifests/clientpackages/vms/wallaby/bullseye.pp', line 2

class openstack::clientpackages::vms::wallaby::bullseye(
) {
    requires_realm('labs')

    apt::repository { 'openstack-wallaby-bullseye':
        uri        => 'http://mirrors.wikimedia.org/osbpo',
        dist       => 'bullseye-wallaby-backports',
        components => 'main',
        source     => false,
        keyfile    => 'puppet:///modules/openstack/serverpackages/osbpo-pubkey.gpg',
        notify     => Exec['openstack-wallaby-bullseye-apt-upgrade'],
    }

    apt::repository { 'openstack-wallaby-bullseye-nochange':
        uri        => 'http://mirrors.wikimedia.org/osbpo',
        dist       => 'bullseye-wallaby-backports-nochange',
        components => 'main',
        source     => false,
        keyfile    => 'puppet:///modules/openstack/serverpackages/osbpo-pubkey.gpg',
        notify     => Exec['openstack-wallaby-bullseye-apt-upgrade'],
    }

    # ensure apt can see the repo before any further Package[] declaration
    # so this proper repo/pinning configuration applies in the same puppet
    # agent run
    exec { 'openstack-wallaby-bullseye-apt-upgrade':
        command     => '/usr/bin/apt-get update',
        require     => [Apt::Repository['openstack-wallaby-bullseye'],
                        Apt::Repository['openstack-wallaby-bullseye-nochange']],
        subscribe   => [Apt::Repository['openstack-wallaby-bullseye'],
                        Apt::Repository['openstack-wallaby-bullseye-nochange']],
        refreshonly => true,
        logoutput   => true,
    }
    Exec['openstack-wallaby-bullseye-apt-upgrade'] -> Package <| title != 'gnupg' |>

}