# File lib/rudy/config.rb, line 24 24: def postprocess 25: #raise "There is no AWS info configured" if self.accounts.nil? 26: 27: # These don't work anymore. Caesars bug? 28: #if accounts? && !self.accounts.aws.nil? 29: # self.accounts.aws.cert &&= File.expand_path(self.accounts.aws.cert) 30: # self.accounts.aws.privatekey &&= File.expand_path(self.accounts.aws.privatekey) 31: #end 32: 33: # The commands config modifies the way the routines configs 34: # should be parsed. This happens in the postprocess method 35: # we call here. We can't guarantee this will run before the 36: # routines config is loaded so this postprocess method will 37: # raise a Caesars::Config::ForceRefresh exception if that's 38: # the case. Rudy::Config::Commands knows to only raise the 39: # exception one time (using a boolean flag in a class var). 40: @commands.postprocess if @commands 41: @defaults.postprocess if @defaults 42: 43: # default will be nil if non was specified. We at least want the object. 44: @defaults = Rudy::Config::Defaults.new if @defaults.nil? 45: end