Browse Source

Merge "Add ExtraKernelPackages" into stable/rocky

tags/9.4.1
Zuul Gerrit Code Review 9 months ago
parent
commit
7e312129fb
2 changed files with 15 additions and 0 deletions
  1. +9
    -0
      puppet/services/kernel.yaml
  2. +6
    -0
      releasenotes/notes/add-kernel-package-parameter-f3ad68ed4b72b0f5.yaml

+ 9
- 0
puppet/services/kernel.yaml View File

@@ -78,6 +78,12 @@ parameters:
type: json
tags:
- role_specific
ExtraKernelPackages:
default: {}
description: List of extra kernel related packages to install.
type: json
tags:
- role_specific
ExtraSysctlSettings:
default: {}
description: Hash of extra sysctl settings to apply.
@@ -99,10 +105,12 @@ resources:
map_replace:
- map_replace:
- extra_kernel_modules: ExtraKernelModules
extra_kernel_packages: ExtraKernelPackages
extra_sysctl_settings: ExtraSysctlSettings
- values: {get_param: [RoleParameters]}
- values:
ExtraKernelModules: {get_param: ExtraKernelModules}
ExtraKernelPackages: {get_param: ExtraKernelPackages}
ExtraSysctlSettings: {get_param: ExtraSysctlSettings}

outputs:
@@ -121,6 +129,7 @@ outputs:
- nf_conntrack: {}
nf_conntrack_proto_sctp: {}
- {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
sysctl_settings:
map_merge:
- net.ipv4.tcp_keepalive_intvl:


+ 6
- 0
releasenotes/notes/add-kernel-package-parameter-f3ad68ed4b72b0f5.yaml View File

@@ -0,0 +1,6 @@
---
features:
- |
Created a `ExtraKernelPackages` parameter to allow users to install
additional kernel related packages prior to loading the kernel modules
defined in `ExtraKernelModules`.

Loading…
Cancel
Save