diff --git a/manifests/tftp/netboot.pp b/manifests/tftp/netboot.pp index ba071368..057dfd01 100644 --- a/manifests/tftp/netboot.pp +++ b/manifests/tftp/netboot.pp @@ -28,10 +28,7 @@ case $grub_installation_type { 'redhat': { - $grub_efi_path = $facts['os']['name'] ? { - /Fedora|CentOS|AlmaLinux|Rocky/ => downcase($facts['os']['name']), - default => 'redhat', - } + $grub_efi_path = downcase($facts['os']['name']) file { "${root}/grub2/grubx64.efi": ensure => file,