utilities/unix_update: https support for apt repos in debian

This commit is contained in:
ts
2019-10-29 11:36:55 +00:00
parent de2ce220e5
commit 77dcd2ff26

View File

@@ -2,7 +2,7 @@ class unix_update::unix{
case $operatingsystem {
'Debian': {
exec { 'update':
command => "/usr/bin/apt-get update --fix-missing",
command => "/usr/bin/apt-get install apt-transport-https ca-certificates --fix-missing -y && /usr/bin/apt-get update --fix-missing",
tries => 5,
try_sleep => 30,
}