diff options
author | Gabriel Filion <gabster@lelutin.ca> | 2015-04-17 16:42:22 -0400 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2015-04-17 16:42:22 -0400 |
commit | 0389b1126164bf8e884f5951d734d725bc718a66 (patch) | |
tree | 89ba9ba3a9fcf37776dd703ade3a6e4e37f4314f | |
parent | d24ca3314fadd7836ed0d6345359eb7ccfad6419 (diff) | |
download | puppet-apt-0389b1126164bf8e884f5951d734d725bc718a66.tar.gz puppet-apt-0389b1126164bf8e884f5951d734d725bc718a66.tar.bz2 |
unattended-upgrades: use an @ prefix for template variables
-rw-r--r-- | templates/50unattended-upgrades.erb | 4 |
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 -%> |