aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/initramfs.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/initramfs.pp')
-rw-r--r--manifests/subsystem/initramfs.pp14
1 files changed, 13 insertions, 1 deletions
diff --git a/manifests/subsystem/initramfs.pp b/manifests/subsystem/initramfs.pp
index e3b5271..9cf04e1 100644
--- a/manifests/subsystem/initramfs.pp
+++ b/manifests/subsystem/initramfs.pp
@@ -28,12 +28,24 @@ class nodo::subsystem::initramfs(
mode => '0644',
}
+ # Weird fix
+ # This is a bug that might be submited upstream to debian or initramfs-tools
+ file { "/etc/initramfs-tools/hooks/fix-fixme":
+ owner => "root",
+ group => "root",
+ mode => '0755',
+ ensure => present,
+ source => "puppet:///modules/nodo/etc/initramfs-tools/hooks/fix-fixme",
+ }
+
# Update initramfs when needed
exec { "update-initramfs":
command => "update-initramfs -v -t -u",
subscribe => [ File["/etc/initramfs-tools/modules"],
File["/etc/modprobe.d/blacklist.conf"],
- File["/etc/initramfs-tools/conf.d/keymap.conf"] ],
+ File["/etc/initramfs-tools/conf.d/keymap.conf"],
+ File["/etc/initramfs-tools/hooks/fix-fixme"],
+ ],
refreshonly => true,
}
}