summaryrefslogtreecommitdiff
path: root/lib/custodian/settings.rb
AgeCommit message (Collapse)Author
2015-01-21Added accessor for the queue-type.Steve Kemp
Default to redis as this is more likely to be installed.
2015-01-19Updated to use our queue-abstraction.Steve Kemp
This means we can queue/dequeue to either Redis or Beanstalkd.
2014-12-11Removed ruby1.8ismsPatrick J Cherry
2013-07-11 Added new global variable "alert_source", for use withSteve Kemp
mauve-notification.
2013-05-15 Correctly work if we have no settings file present.Steve Kemp
Previously we'd try to find the setting "foo" like so: @settings['foo'].to_i || 5 This would fail if the setting wasn't defined, because nil.to_i results in 0. But we must call to_i otherwise we'll have issues comparing strings/numbers.
2013-05-15 Added store() method for use by test case.Steve Kemp
updated comments.
2013-05-14 Ensure repeat_count and sleep values are integers.Steve Kemp
2013-05-14 Allow retry-behaviour to be tweaked.Steve Kemp
We can now sleep between retesting, and we configure the number of repeats via the configuration file.
2013-04-23 Allow the settings object to retrieve the name of the beanstalkd tube.Steve Kemp
2012-12-12 Updated comment.Steve Kemp
2012-12-12 The settings object will let you retrieve an arbitrary key.Steve Kemp
2012-11-30 comment + neatness update.Steve Kemp
2012-11-26 Updated so that each alert-type has its dedicated alert-target.Steve Kemp
2012-11-24 Updated comments.Steve Kemp
2012-11-24 Default alerter is "file".Steve Kemp
2012-11-24 Add accessor, with sane defaults, for the alertersSteve Kemp
2012-11-24 Added new helper to get the alerter.Steve Kemp
2012-11-23 Added attribute for the logfile.Steve Kemp
Updated default beanstalkd server port.
2012-11-23 Added this file to the project - not-yet used.Steve Kemp