aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2013-07-27 13:42:54 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-04-17 15:50:36 -0400
commitd24ca3314fadd7836ed0d6345359eb7ccfad6419 (patch)
tree19e9973aa22ad205454ffa00222cc6567ffd378d /templates
parent9192785c452ce2cfa0f58984d3aebdcaf841113a (diff)
downloadpuppet-apt-d24ca3314fadd7836ed0d6345359eb7ccfad6419.tar.gz
puppet-apt-d24ca3314fadd7836ed0d6345359eb7ccfad6419.tar.bz2
Parametrize unattended-upgrades mail recipient
Diffstat (limited to 'templates')
-rw-r--r--templates/50unattended-upgrades.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/50unattended-upgrades.erb b/templates/50unattended-upgrades.erb
index 0ba0d7e..41bac87 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 "root";
+Unattended-Upgrade::Mail "<%= mail_recipient -%>";
<% if mailonlyonerror -%>
Unattended-Upgrade::MailOnlyOnError "true";
<% end -%>