Skip to content

ULHPC/puppet-kernel

Repository files navigation

Kernel Puppet Module

Puppet Forge License Supported Platforms

Configure various aspects of Linux kernel (modules etc.)

  Copyright (c) 2026 UL HPC Team <hpc-sysadmins@uni.lu>

| Project Page | Sources | Issues |

Synopsis

Configure various aspects of Linux kernel (modules etc.).

This module implements the following elements:

  • Puppet classes:

    • kernel
    • kernel::common
    • kernel::common::debian
    • kernel::common::redhat
    • kernel::params
  • Puppet definitions:

    • kernel::module

All these components are configured through a set of variables you will find in manifests/params.pp.

Dependencies

See metadata.json. In particular, this module depends on

Overview and Usage

Class kernel

This is the main class defined in this module. It accepts the following parameters:

  • $ensure: default to 'present', can be 'absent'

Use it as follows:

 include ' kernel'

Definition kernel::module

The definition kernel::module provides ... This definition accepts the following parameters:

  • $ensure: default to 'present', can be 'absent'
  • $content: specify the contents of the directive as a string
  • $source: copy a file as the content of the directive.

Example:

    kernel::module { 'toto':
	      ensure => 'present',
    }

Librarian-Puppet / R10K Setup

You can of course configure the kernel module in your Puppetfile to make it available with Librarian puppet or r10k by adding the following entry:

 # Modules from the Puppet Forge
 mod "ULHPC/kernel"

or, if you prefer to work on the git version:

 mod "ULHPC/kernel",
     :git => 'https://github.com/ULHPC/puppet-kernel',
     :ref => 'main'

Developments / Issues / Contributing to the code

This Puppet Module has been implemented in the context of the UL HPC Platform of the University of Luxembourg. It relies on Vox Pupuli modulesync for its organization.

If you want to contribute to the code, you shall be aware of the way this module is organized. These elements are detailed on docs/contributing.md.

You can submit bugs / issues / feature requests using the ULHPC/kernel Puppet Module Tracker. You are more than welcome to contribute to its development by sending a pull request.

Licence

This project and the sources proposed within this repository are released under the terms of the GPL-3.0 licence.

Licence

About

Configure various aspects of Linux kernel (modules etc.)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors