Browse Source

Merge "Add ExtraKernelPackages" into stable/stein

tags/10.6.1
Zuul 3 weeks ago
parent
commit
de0cc4883e

+ 9
- 0
deployment/kernel/kernel-baremetal-puppet.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:
@@ -120,6 +128,7 @@ outputs:
120 128
           map_merge:
121 129
             - nf_conntrack: {}
122 130
             - {get_attr: [RoleParametersValue, value, extra_kernel_modules]}
131
+        kernel_packages: {get_attr: [RoleParametersValue, value, extra_kernel_packages]}
123 132
         sysctl_settings:
124 133
           map_merge:
125 134
             - 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