mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
utilities/unix_update: https support for apt repos in debian
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user