diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-20 17:40:37 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-20 17:40:37 +0200 |
commit | f689374cb50471ab8a8b82c78a545cd76a907850 (patch) | |
tree | c3e511c1e9c15e3bfac7df194f64c998bc74e5de /manifests | |
parent | Add µCode-updates to syslinux initrd. (diff) | |
download | syslinux-f689374cb50471ab8a8b82c78a545cd76a907850.tar.gz syslinux-f689374cb50471ab8a8b82c78a545cd76a907850.tar.xz |
Move syslinux types into subdir.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index d7bd375..4b89208 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,19 +1,9 @@ -type Bootentry = Struct[{ - 'label' => String, - 'type' => Enum['linux','com'], - # linux specific - 'extra_args' => Optional[String], - 'initrd' => Optional[String], - # com specific - 'com' => Optional[String], -}] - class syslinux ( String $kernel = 'linux', String $efi_root = '/boot/efi', String $bootentry = 'syslinux', - Hash[String,Bootentry,1] $boot_entries, + Hash[String,Syslinux::Bootentry,1] $boot_entries, String $default_boot_entry = $boot_entries.map |$k, $_| { $k }[0], ) { |