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,