From 4f66b722bcc4b1062969353f6023dc6453b0a92e Mon Sep 17 00:00:00 2001 From: Erik Berg Date: Thu, 8 Feb 2024 13:19:21 +0100 Subject: [PATCH] Make exception to grub_efi_path for OracleLinux Apparently they didn't get the memo when rebranding their distro. --- manifests/tftp/netboot.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/tftp/netboot.pp b/manifests/tftp/netboot.pp index 057dfd01..e2db68aa 100644 --- a/manifests/tftp/netboot.pp +++ b/manifests/tftp/netboot.pp @@ -28,7 +28,10 @@ case $grub_installation_type { 'redhat': { - $grub_efi_path = downcase($facts['os']['name']) + $grub_efi_path = $facts['os']['name'] ? { + 'OracleLinux' => 'redhat', + default => downcase($facts['os']['name']), + } file { "${root}/grub2/grubx64.efi": ensure => file,