summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-06-24 12:14:10 +0200
committerVarac <varac@leap.se>2017-06-24 12:26:08 +0200
commitfc907004a75ab2f8f8302706150b68a9cdd6baf0 (patch)
treeebff124996b01732d4d2c028b1a3e52321949cbb /puppet/modules/site_apt/manifests
parent1078bffff8a0ac49c566c28f85ef8c9fe14f4e11 (diff)
Add configured apt component to the unattended-upgrades whitelist
Resolves: #8792
Diffstat (limited to 'puppet/modules/site_apt/manifests')
-rw-r--r--puppet/modules/site_apt/manifests/unattended_upgrades.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/puppet/modules/site_apt/manifests/unattended_upgrades.pp b/puppet/modules/site_apt/manifests/unattended_upgrades.pp
index 42f1f4c6..ddadd35a 100644
--- a/puppet/modules/site_apt/manifests/unattended_upgrades.pp
+++ b/puppet/modules/site_apt/manifests/unattended_upgrades.pp
@@ -11,8 +11,7 @@ class site_apt::unattended_upgrades {
# configure LEAP upgrades
apt::apt_conf { '51unattended-upgrades-leap':
- source => [
- "puppet:///modules/site_apt/${::lsbdistid}/51unattended-upgrades-leap"],
+ content => template('site_apt/51unattended-upgrades-leap'),
require => Package['unattended-upgrades'],
refresh_apt => false,
}