From f5afbaac8d97596006aae5490b63f0a507c1eeea Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 29 Aug 2019 17:58:14 +0200 Subject: [PATCH] define the update-initramfs exec --- modules/debian_org/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/debian_org/manifests/init.pp b/modules/debian_org/manifests/init.pp index fd78eaf91..52906e468 100644 --- a/modules/debian_org/manifests/init.pp +++ b/modules/debian_org/manifests/init.pp @@ -370,4 +370,10 @@ class debian_org { refreshonly => true, require => Package['userdir-ldap'] } + + # some changes require rebuilding the initramfs. Have the common exec here. + exec { 'update-initramfs -u': + path => '/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin', + refreshonly => true; + } } -- 2.20.1