This module manages GRUB 2 bootloader
- Define some memory addresses for BadRAM filtering
- STRING : Empty by default
- Template used for GRUB config file
- STRING : 'grub2/default_grub.erb'
- Arguments passed to the kernel
- STRING : Empty by default
- Arguments passed to the kernel
- STRING : Empty by default
- Define on which kernel the system will boot
- STRING : 0
- Define on which hard drive the MBR will be write
- STRING : Empty by default
- Define if GRUB should use the UUID in the root= path
- BOOL : false
- Define if GRUB should display the recovery entry in the menu
- BOOL : false
- Define which resolution should be used if VBE is used
- STRING : Empty by default
hidden_timeout
- Define how long (in seconds) grub should wait for a user to enter the menu
- STRING : Not present in config file by default
hidden_timeout_quiet
- Define if the hidden timeout is quiet or not
- BOOL : Not present in config file unless explicitly defined with true or false
- Install the GRUB packages and install GRUB in the MBR
- BOOL : False
- Puppet stuff, define in which state should be the GRUB packages
- STRING : 'present'
- Set settings for the serial console
- STRING : Empty by default
- Define on which terminal the ouput should be display
- STRING : Empty by default
- Define how long (in seconds) the menu should appear
- STRING : 5
- Define if GRUB should make a beep when he starts
- STRING : Empty by default
- Regenerate the GRUB configuration after updates
- BOOL : true
class { 'grub2':
update_grub => false,
install_grub => false,
cmdline_linux_default => 'quiet crashkernel=256M nmi_watchdog=0 console=tty0 console=ttyS1,115200n8',
terminal => 'serial console',
default_entry => 0,
timeout => 5,
serial_command => 'serial --speed=115200 --unit=1 --word=8 --parity=no --stop=1',
disable_uuid => true,
disable_recovery => true,
tune => '480 440 1',
device_install => '/dev/sda',
hidden_timeout => 0,
hidden_timeout_quiet => false,
}