- 10 May, 2020 1 commit
-
-
Thomas Bellman authored
NSC have refactored and split the nsc-puppet-utils module into multiple modules. The parts of nsc-puppet-utils we were using are now in the "cfgfile" module. Update README with this information.
-
- 30 Apr, 2018 2 commits
-
-
Thomas Bellman authored
This adds the defintion bootloader::grub0::option, which can set and unset options in the Grub 0.x config file. It handles both "bare" options (e.g. 'hiddenmenu') and valued options (e.g. timeout=5). Managing Grub 2 options seems a bit more complicated, so for now we only implement the Grub 0.x version.
-
Thomas Bellman authored
Add a parameter 'provider' to the kernel_option definition, allowing users to specify which bootloader is in use.
-
- 29 Apr, 2018 2 commits
-
-
Thomas Bellman authored
This adds support in bootload::grub0::kernel_option for setting kernel commandline options, both "bare" options, and options with values. It uses Augeas with the Grub lens to handle this.
-
Thomas Bellman authored
Augeas knows the grammar for the Grub0 config file, so we don't need to have complicated regular expressions in our code to deal with all the corner cases.
-
- 11 Apr, 2018 1 commit
-
-
Thomas Bellman authored
On UEFI systems, grub.cfg is in /boot/efi/EFI/<os>/grub.cfg instead of in /boot/grub2/grub.cfg. Luckily, instead of having to know what "<os>" needs to be instantiated with (e.g. "centos"), it seems that we can just point grub2-mkconfig to the symlink /etc/grub2-efi.cfg. (This at least works on RedHat:ish systems.)
-
- 19 Dec, 2017 7 commits
-
-
Thomas Bellman authored
This adds a new helper for bootloader::kernel_option handling the Grub 2 case. This also only supports removing options, though, not setting them.
-
Thomas Bellman authored
Grub 2 builds its config file (/boot/grub2/grub.cfg) from templates in /etc/grub.d, and settings in /etc/default/grub, and it needs to be regenerated every time you change those templates or settings (or when you install a new kernel, et.c). This adds a class for doing so, bootloader::grub2::rebuild_grub_cfg.
-
Thomas Bellman authored
This adds a definition bootloader::kernel_option for managing kernel command line options. The implementation is currently rudimentary, and only support removing options when Grub 0.x is used; Grub 2.x or setting options is not yet implemented.
-
Thomas Bellman authored
This is intended as an internal helper for other definitions or classes.
-
Thomas Bellman authored
-
Thomas Bellman authored
-
Thomas Bellman authored
This will contain a Puppet module for managing bootloader (e.g. Grub) settings for Linux systems.
-