aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-12 12:28:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-12 12:28:27 -0300
commit8b030ec9db165007af0254978c96f742dccc2235 (patch)
tree26584353be44ae237aae2cbbb1ee96c603ffb683 /manifests/subsystem
parent7ae22f528408f1543c0e8cec7e7798c056f94a28 (diff)
downloadpuppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.gz
puppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.bz2
Fix: weird initramfs bug
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/initramfs.pp14
-rw-r--r--manifests/subsystem/sysctl/panic.pp (renamed from manifests/subsystem/sysctl/appliance.pp)0
2 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,
}
}
diff --git a/manifests/subsystem/sysctl/appliance.pp b/manifests/subsystem/sysctl/panic.pp
index 2657542..2657542 100644
--- a/manifests/subsystem/sysctl/appliance.pp
+++ b/manifests/subsystem/sysctl/panic.pp