summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp12
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],
) {