# File lib/mcollective/generators/agent_generator.rb, line 21
      def create_ddl
        action_text = ""
        @actions.each_with_index do |action, i|
          action_text += "action \"#{action}\", :description => \"%ACTIONDESCRIPTION%\" do\n"
          action_text += action_help if i == 0
          action_text += "end\n"
          action_text += "\n" unless @actions.size == (i + 1)
        end
        # Use inherited method to create metadata part of the ddl
        create_metadata_string + action_text
      end