Skip to content

Commit

Permalink
Fixes #36940 - Add SecureBoot support for arbitrary operating systems…
Browse files Browse the repository at this point in the history
… to "Grub2 UEFI" PXE loaders

In the course of theforeman/foreman#9864 and theforeman/smart-proxy#877,
SecureBoot support for arbitrary operating systems has been added to the
"Grub2 UEFI" PXE loaders.
This patch adds the 'bootloader-universe' and 'host-config' directories
inside the TFTP root, that are both required by the aforementioned PRs.
  • Loading branch information
goarsna committed Aug 8, 2024
1 parent 6a3724a commit 1aa114c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/tftp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@
root => $root,
}

$dirs = pick($directories, prefix(['pxelinux.cfg','grub','grub2','boot','ztp.cfg','poap.cfg'], "${tftp::root}/"))
$dirs = pick($directories, prefix([
'pxelinux.cfg',

Check warning on line 17 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'grub',

Check warning on line 18 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'grub2',

Check warning on line 19 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'boot',

Check warning on line 20 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'ztp.cfg',

Check warning on line 21 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'poap.cfg',

Check warning on line 22 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'host-config',

Check warning on line 23 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'bootloader-universe',

Check warning on line 24 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
'bootloader-universe/pxegrub2',

Check warning on line 25 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 8 chars and is 6 (check: strict_indent)
], "${tftp::root}/"))

Check warning on line 26 in manifests/tftp.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

indent should be 2 chars and is 4 (check: strict_indent)

file { $dirs:
ensure => directory,
Expand Down

0 comments on commit 1aa114c

Please sign in to comment.