Fix typos in unattended-upgrades template

This commit is contained in:
Jerome Charaoui 2015-05-07 12:52:25 -04:00
parent a28c04239c
commit 07424069c2

View file

@ -7,12 +7,12 @@ Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}-backports"; "${distro_id}:${distro_codename}-backports";
<% elsif scope.lookupvar('::operatingsystem') == 'Debian' and scope.lookupvar('::operatingsystemmajrelease') == 6 -%> <% elsif scope.lookupvar('::operatingsystem') == 'Debian' and scope.lookupvar('::operatingsystemmajrelease') == 6 -%>
Unattended-Upgrade::Allowed-Origins { Unattended-Upgrade::Allowed-Origins {
"${distro-id}:oldoldstable"; "${distro_id}:oldoldstable";
"${distro-id}:squeeze-lts"; "${distro_id}:squeeze-lts";
<% else -%> <% else -%>
Unattended-Upgrade::Origins-Pattern { Unattended-Upgrade::Origins-Pattern {
"o=Debian,l=Debian-Security"; "o=Debian,l=Debian-Security";
"o=Debian,a=${distro-id}-lts"; "o=Debian,a=${distro_id}-lts";
<% end -%> <% end -%>
}; };
@ -21,7 +21,7 @@ Unattended-Upgrade::Package-Blacklist {
<% @blacklisted_packages.each do |pkg| -%> <% @blacklisted_packages.each do |pkg| -%>
"<%= pkg %>"; "<%= pkg %>";
<% end -%> <% end -%>
} };
<% end -%> <% end -%>
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Update-Package-Lists "1";