define the update-initramfs exec
[mirror/dsa-puppet.git] / modules / debian_org / manifests / init.pp
index fd78eaf..52906e4 100644 (file)
@@ -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;
+       }
 }