Fix error in 50unattended-upgrades.erb syntax, remove lsb fact
This commit is contained in:
parent
74db9ebf28
commit
f1a53bcfa7
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ Unattended-Upgrade::Allowed-Origins {
|
|||
"${distro_id}:${distro_codename}-security";
|
||||
"${distro_id}:${distro_codename}-updates";
|
||||
"${distro_id}:${distro_codename}-backports";
|
||||
<% else -%>
|
||||
<% if scope.lookupvar('::lsbdistcodename') == 'squeeze' -%>
|
||||
<% elsif scope.lookupvar('::operatingsystem') == 'Debian' and scope.lookupvar('::operatingsystemmajrelease') == 6 -%>
|
||||
"${distro-id} ${distro-codename}-security";
|
||||
"${distro-id} ${distro-codename}-lts";
|
||||
<% else -%>
|
||||
|
|
Loading…
Reference in a new issue