Resource Type: kernel_parameter

Defined in:
lib/puppet/type/kernel_parameter.rb
Providers:
grub2

Overview

Manages kernel parameters stored in bootloaders.

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • value

    Value of the parameter if applicable. Many parameters are just keywords so this must be left blank, while others (e.g. ‘vga’) will take a value.

Parameters

  • bootmode (defaults to: all)

    Boot mode(s) to apply the parameter to. Either ‘all’ (default) to use the parameter on all boots (normal and recovery mode), ‘default’ for just the default boot entry, ‘normal’ for just normal boots or ‘recovery’ for just recovery boots.

    Supported values:
    • all
    • default
    • normal
    • recovery
  • name (namevar)

    The parameter name, e.g. ‘quiet’ or ‘vga’.

  • provider

    The specific backend to use for this ‘kernel_parameter` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • target

    The bootloader configuration file, if in a non-default location for the provider.