From a490948b75b35dae111eaaaedb64af3e9bc3d9a3 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Tue, 2 Aug 2022 19:32:17 +0100 Subject: [PATCH] Kali using puppet 7 update --- .../utilities/unix/update/unix_update/manifests/unix.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/utilities/unix/update/unix_update/manifests/unix.pp b/modules/utilities/unix/update/unix_update/manifests/unix.pp index ec4c2b91b..2e7121a99 100644 --- a/modules/utilities/unix/update/unix_update/manifests/unix.pp +++ b/modules/utilities/unix/update/unix_update/manifests/unix.pp @@ -7,6 +7,13 @@ class unix_update::unix{ try_sleep => 30, } } + 'Kali': { + exec { 'update': + command => "/usr/bin/apt-get update --fix-missing", + tries => 5, + try_sleep => 30, + } + } 'Ubuntu': { exec { 'update': command => "/usr/bin/apt-get update --fix-missing",