Puppet Class: profile::base::linux510

Defined in:
modules/profile/manifests/base/linux510.pp

Overview

Class profile::base::linux510

Setup Kernel 5.10 on Buster hosts. Used for special use cases: if you want to use it in prod, please sync up with Infrastructure Foundation's SREs first for visibility.“ Some use cases:

  • Hosts with GPU (AMD ROCm drivers are published to the kernel, the more recent the better). This includes Machine Learning and Analytics.

  • cloudgw specific NAT settings used by the Cloud team.

  • bnx2x NICs firmware issues (cloudnet servers, see T271058)

Parameters:

  • enable (Boolean) (defaults to: lookup('profile::base::linux510::enable', { 'default_value' => false }))


12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/profile/manifests/base/linux510.pp', line 12

class profile::base::linux510(
    Boolean $enable = lookup('profile::base::linux510::enable', { 'default_value' => false }),
) {
    # only for Buster
    if $enable and debian::codename::eq('buster') {
        apt::pin { 'linux-image-apt-pin':
            pin      => 'release a=buster-backports',
            package  => 'linux-image-amd64',
            priority => 1001,
        }
    }
}