From f0ab6ec3f13066785d38573b068eec1271804ca4 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 18:53:37 +0000 Subject: Updated comments. --- lib/custodian/settings.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index 04f4b2d..48adcc0 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -119,20 +119,21 @@ module Custodian # # The target for the alert. # - # When the alerter is "file" the target is the mail address. + # When the alerter is "smtp" the target is the mail address. # # When the alerter is "file" the target is the logfile. # - # When the alerter is "mauve" the target is the destination for the - # alerts. + # When the alerter is "mauve" the target is the destination for the alerts. # def alerter_target _load() unless( _loaded? ) + # if we have something setup then use it. if ( @settings['alerter_target'] ) return( @settings['alerter_target'] ) end + # otherwise per-test defaults. case alerter() when "smtp": "root" -- cgit v1.2.1