X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Finit.pp;h=02cf50615db485740b8fa8c3537d89ef0cc87933;hb=51c79070603003701cef47513835b6d3e41e64fc;hp=90e42af8718d4f77ea2558819d40cfdc0664d831;hpb=1f65509ad6c56941aa1429bb850b9cb81b203feb;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/init.pp b/modules/bacula/manifests/init.pp index 90e42af87..02cf50615 100644 --- a/modules/bacula/manifests/init.pp +++ b/modules/bacula/manifests/init.pp @@ -20,7 +20,8 @@ class bacula ( String $ssl_server_key, Optional[String] $email_all = undef, - String $email_error = $email_all ? { true => $email_all, default => 'root@localhost' }, + # default to all if defined, otherwise default to 'root' to enforce error delivery + String $email_error = $email_all ? { undef => 'root', default => $email_all }, String $email_operator = $email_error, String $email_daemon = $email_error, Array[Stdlib::IP::Address] $public_addresses = $base::public_addresses,