Browse Source

Merge "Add ExtraKernelPackages" into stable/rocky

tags/9.4.1
Zuul 1 month ago
parent
commit
7e312129fb

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

@@ -78,6 +78,12 @@ parameters:
78 78
     type: json
79 79
     tags:
80 80
       - role_specific
81
+  ExtraKernelPackages:
82
+    default: {}
83
+    description: List of extra kernel related packages to install.
84
+    type: json
85
+    tags:
86
+      - role_specific
81 87
   ExtraSysctlSettings:
82 88
     default: {}
83 89
     description: Hash of extra sysctl settings to apply.
@@ -99,10 +105,12 @@ resources:
99 105
         map_replace:
100 106
           - map_replace:
101 107
             - extra_kernel_modules: ExtraKernelModules
108
+              extra_kernel_packages: ExtraKernelPackages
102 109
               extra_sysctl_settings: ExtraSysctlSettings
103 110
             - values: {get_param: [RoleParameters]}
104 111
           - values:
105 112
               ExtraKernelModules: {get_param: ExtraKernelModules}
113
+              ExtraKernelPackages: {get_param: ExtraKernelPackages}
106 114
               ExtraSysctlSettings: {get_param: ExtraSysctlSettings}
107 115
 
108 116
 outputs:
@@ -121,6 +129,7 @@ outputs:
121 129
             - nf_conntrack: {}
122 130
               nf_conntrack_proto_sctp: {}
123 131
             - {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
132
+        kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
124 133
         sysctl_settings:
125 134
           map_merge:
126 135
             - net.ipv4.tcp_keepalive_intvl:

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

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

Loading…
Cancel
Save