# File lib/mcollective/rpc/agent.rb, line 52 def load_ddl @ddl = DDL.new(@agent_name, :agent) @meta = @ddl.meta @timeout = @meta[:timeout] || 10 rescue Exception => e Log.error("Failed to load DDL for the '%s' agent, DDLs are required: %s: %s" % [@agent_name, e.class, e.to_s]) raise DDLValidationError end