don't call Exec[refresh_apt] after deploying unattended-upgrades config
unattended-upgrades is run on a daily base by cron, no need to force an `apt-get update` after changing this file.
This commit is contained in:
parent
9df32aacd6
commit
a4d788d778
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,8 @@ class apt::unattended_upgrades (
|
|||
}
|
||||
|
||||
apt_conf { '50unattended-upgrades':
|
||||
content => $file_content,
|
||||
require => Package['unattended-upgrades'],
|
||||
content => $file_content,
|
||||
require => Package['unattended-upgrades'],
|
||||
refresh_apt => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue