aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-07 12:52:25 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-05-07 12:52:25 -0400
commit07424069c2cb66c484e2bfe160a1aba2efd610ce (patch)
tree9dc42bf02ded70dcbdb1db1a490e6bd9ad202f89
parenta28c04239cac7be6381b7259714696ce1a18fde7 (diff)
downloadpuppet-apt-07424069c2cb66c484e2bfe160a1aba2efd610ce.tar.gz
puppet-apt-07424069c2cb66c484e2bfe160a1aba2efd610ce.tar.bz2
Fix typos in unattended-upgrades template
-rw-r--r--templates/50unattended-upgrades.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/50unattended-upgrades.erb b/templates/50unattended-upgrades.erb
index 2bcfab0..73ffa60 100644
--- a/templates/50unattended-upgrades.erb
+++ b/templates/50unattended-upgrades.erb
@@ -7,12 +7,12 @@ Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}-backports";
<% elsif scope.lookupvar('::operatingsystem') == 'Debian' and scope.lookupvar('::operatingsystemmajrelease') == 6 -%>
Unattended-Upgrade::Allowed-Origins {
- "${distro-id}:oldoldstable";
- "${distro-id}:squeeze-lts";
+ "${distro_id}:oldoldstable";
+ "${distro_id}:squeeze-lts";
<% else -%>
Unattended-Upgrade::Origins-Pattern {
"o=Debian,l=Debian-Security";
- "o=Debian,a=${distro-id}-lts";
+ "o=Debian,a=${distro_id}-lts";
<% end -%>
};
@@ -21,7 +21,7 @@ Unattended-Upgrade::Package-Blacklist {
<% @blacklisted_packages.each do |pkg| -%>
"<%= pkg %>";
<% end -%>
-}
+};
<% end -%>
APT::Periodic::Update-Package-Lists "1";