voxpupuli / puppet-augeasproviders_grub

Augeas-based grub type and providers
Apache License 2.0
9 stars 33 forks source link

Update grub2.rb to add On UEFI Systems, grub.cfg #21

Closed stivesso closed 8 years ago

stivesso commented 8 years ago

On UEFI Systems, grub.cfg will be located at: /boot/efi/EFI/distribution/grub.cfg For example, On RedHat UEFI-based systems, the configuration file is /boot/efi/EFI/redhat/grub.cfg. /etc/grub2-efi.cfg is a symlink to that EFI File and that's the one I modified to avoid the following error on UEFI RHEL7 Systems and update grub configuration Could not evaluate: Cannot find grub.cfg location to use with grub-mkconfig

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 96.226% when pulling 16e587ff147a8ed0956151fcf279f4e532a2d884 on stivesso:master into 36d078938cc152271e26b30b68c908e5b2b6bc03 on hercules-team:master.

trevor-vaughan commented 8 years ago

:+1: Looks like a reasonable change to me.