From e7a7d48317ad7a3a9b90696bdcd878a1a6e6f76c Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Wed, 16 Jan 2013 14:32:19 -0800
Subject: [PATCH] Clarify use of job_submit/lua plugin

---
 doc/html/job_submit_plugins.shtml | 9 +++++++--
 doc/man/man5/slurm.conf.5         | 8 ++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/doc/html/job_submit_plugins.shtml b/doc/html/job_submit_plugins.shtml
index 80f99812abd..5c38da38092 100644
--- a/doc/html/job_submit_plugins.shtml
+++ b/doc/html/job_submit_plugins.shtml
@@ -23,6 +23,8 @@ The minor type can be any suitable name
 for the type of accounting package.
 We include samples in the SLURM distribution for
 <ul>
+<li><b>all_partitions</b>&#151;Set default partition to all partitions on
+the cluster.</li>
 <li><b>defaults</b>&#151;Set default values for job submission or modify
 requests.</li>
 <li><b>logging</b>&#151;Log select job submission and modification
@@ -35,7 +37,10 @@ the same location as the SLURM configuration file, <i>slurm.conf</i>.</li>
 <li><b>partition</b>&#151;Sets a job's default partition based upon job
 submission parameters and available partitions.</li>
 </ul>
-<p>SLURM can be configured to use multiple job_submit plugins if desired.
+<p>SLURM can be configured to use multiple job_submit plugins if desired,
+however the lua plugin will only execute one lua script named "job_submit.lua"
+and located in default script directory (typically the subdirectory "etc" of
+the installation directory).</p>
 
 <p class="footer"><a href="#top">top</a>
 
@@ -135,6 +140,6 @@ appropriate error message printed for that errno.
 releases of SLURM may revise this API.
 <p class="footer"><a href="#top">top</a>
 
-<p style="text-align:center;">Last modified 29 April 2011</p>
+<p style="text-align:center;">Last modified 16 January 2013</p>
 
 <!--#include virtual="footer.txt"-->
diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5
index 953f1d4cb29..156a1140c27 100644
--- a/doc/man/man5/slurm.conf.5
+++ b/doc/man/man5/slurm.conf.5
@@ -767,10 +767,14 @@ A comma delimited list of job submission plugins to be used.
 The specified plugins will be executed in the order listed.
 These are intended to be site\-specific plugins which can be used to set
 default job parameters and/or logging events.
-Sample plugins available in the distribution include "cnode", "defaults",
-"logging", "lua", and "partition".
+Sample plugins available in the distribution include "all_partitions", "cnode",
+"defaults", "logging", "lua", and "partition".
 For examples of use, see the SLURM code in "src/plugins/job_submit" and
 "contribs/lua/job_submit*.lua" then modify the code to satisfy your needs.
+SLURM can be configured to use multiple job_submit plugins if desired,
+however the lua plugin will only execute one lua script named "job_submit.lua"
+and located in default script directory (typically the subdirectory "etc" of
+the installation directory).
 No job submission plugins are used by default.
 
 .TP
-- 
GitLab