dkms

pdk
Manage DKMS and add kmods to build

689 downloads

689 latest version

5.0 quality score

Version information

  • 0.1.0 (latest)
released May 10th 2022
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.21.0 < 8.0.0
  • RedHat
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    ,
    Fedora
    ,
    SLES

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jcpunk-dkms', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcpunk-dkms
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcpunk-dkms --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

jcpunk/dkms — version 0.1.0 May 10th 2022

dkms

Manage DKMS Kernel modules.

Table of Contents

  1. Description
  2. Setup - The basics of getting started with dkms
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

Install and manage DKMS, along with any kernel modules.

Setup

Setup Requirements

If you wish to use the dkms::kernel_module defined type, you must first put your source in /usr/src/<kmod-name>-<kmod-version>/.

Beginning with dkms

Modern linux distros have hooks for DKMS to automatically build a module when a new kernel is installed. Odds are for most users all you need is:

include dkms

Usage

There is a parameter provided to easily create any kmod entries you need:

class { 'dkms':
  kernel_modules => {
    'kmod_name' => {
      'kmod_version' => 'ver string',
      'ensure' => 'installed',
      'on_kernel' => 'ALL',
    }
  }
}

Review the documentation on the dkms::kernel_module defined type for more information.

Limitations

If you wish to use the dkms::kernel_module defined type, you must first put your source in /usr/src/<kmod-name>-<kmod-version>/.

The dkms::kernel_module defined type does not support tar or alternate source modes for adding modules.

Development

See the repo defined in metadata.json.