aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2015-04-17 16:42:22 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-04-17 16:42:22 -0400
commit0389b1126164bf8e884f5951d734d725bc718a66 (patch)
tree89ba9ba3a9fcf37776dd703ade3a6e4e37f4314f /templates
parentd24ca3314fadd7836ed0d6345359eb7ccfad6419 (diff)
downloadpuppet-apt-0389b1126164bf8e884f5951d734d725bc718a66.tar.gz
puppet-apt-0389b1126164bf8e884f5951d734d725bc718a66.tar.bz2
unattended-upgrades: use an @ prefix for template variables
Diffstat (limited to 'templates')
-rw-r--r--templates/50unattended-upgrades.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/50unattended-upgrades.erb b/templates/50unattended-upgrades.erb
index 41bac87..318b69d 100644
--- a/templates/50unattended-upgrades.erb
+++ b/templates/50unattended-upgrades.erb
@@ -20,7 +20,7 @@ APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::Unattended-Upgrade "1";
-Unattended-Upgrade::Mail "<%= mail_recipient -%>";
-<% if mailonlyonerror -%>
+Unattended-Upgrade::Mail "<%= @mail_recipient -%>";
+<% if @mailonlyonerror -%>
Unattended-Upgrade::MailOnlyOnError "true";
<% end -%>