# File lib/mcollective/rpc/agent.rb, line 55 def load_ddl @ddl = DDL.new(@agent_name, :agent) @meta = @ddl.meta @timeout = @meta[:timeout] || 10 rescue Exception => e DDL.validation_fail!(:PLMC24, "Failed to load DDL for the '%{agent}' agent, DDLs are required: %{error_class}: %{error}", :error, :agent => @agent_name, :error_class => e.class, :error => e.to_s) end