Forge Home


Common GRUB management items


137 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.6.0 (latest)
  • 0.5.1
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.2
  • 0.2.1
  • 0.1.1
released Oct 11th 2023
This version is compatible with:
  • Puppet Enterprise 2023.5.x, 2023.4.x, 2023.3.x, 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
  • Puppet >= 7.0.0 < 9.0.0
  • , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'simp-simp_grub', '0.6.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add simp-simp_grub
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install simp-simp_grub --version 0.6.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.

Tags: simp


simp/simp_grub — version 0.6.0 Oct 11th 2023

License CII Best Practices Puppet Forge Puppet Forge Downloads Build Status

Table of Contents


This is a SIMP module

This module is a component of the System Integrity Management Platform

If you find any issues, please submit them via JIRA.

Please read our [Contribution Guide] (

Module Description

Provides a Hiera-friendly interface to GRUB configuration activities.

Currently supports setting administrative GRUB passwords on both GRUB 2 and legacy GRUB systems.

See for more details.

See herculesteam/augeasproviders_grub for additional information on GRUB management.


What simp_grub affects

simp_grub helps manage the GRUB configuration on your systems.


Simply include simp_grub and set the simp_grub::password parameter to password protect GRUB.


You must set the administrative username on GRUB2 systems.

Example: Set the admin username:

simp_grub::admin: my_admin_username

Passwords that are not in PBKDF2 format will be encrypted for you.

Legacy GRUB

On legacy systems, password entries that do not start with $1$, $5$, or $6$ will be encrypted for you.


SIMP Puppet modules are generally intended to be used on a Red Hat Enterprise Linux-compatible distributions.

See metadata.json for the full list of supported operating systems.


Please read our [Contribution Guide] (

Unit tests

Unit tests, written in rspec-puppet can be run by calling:

bundle exec rake spec

Acceptance tests

To run the system tests, you need Vagrant installed. Then, run:

bundle exec rake beaker:suites

Some environment variables may be useful:

  • BEAKER_debug: show the commands being run on the STU and their output.
  • BEAKER_destroy=no: prevent the machine destruction after the tests finish so you can inspect the state.
  • BEAKER_provision=no: prevent the machine from being recreated. This can save a lot of time while you're writing the tests.
  • BEAKER_use_fixtures_dir_for_modules=yes: cause all module dependencies to be loaded from the spec/fixtures/modules directory, based on the contents of .fixtures.yml. The contents of this directory are usually populated by bundle exec rake spec_prep. This can be used to run acceptance tests to run on isolated networks.