summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 18:53:37 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 18:53:37 +0000
commitfc978b12289b070ab2274e5feacceb2d6836484b (patch)
tree47f68a483d5cc25b6d4ebc0509b19d5961952549 /lib
parentca93559d34e5d295fcd655da46436dc5ee635986 (diff)
Updated comments.
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/settings.rb7
1 files 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"