summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-16 11:32:23 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-16 11:32:29 -0400
commita937c79d4be4edb5600446bcfbd8e423d74da82b (patch)
treeba18b969585e6e7f02056412a3c37278bfe42718
parent0191588de32d21fae6c332f0d6f289edc9fa61a6 (diff)
downloadbcfg2-a937c79d4be4edb5600446bcfbd8e423d74da82b.tar.gz
bcfg2-a937c79d4be4edb5600446bcfbd8e423d74da82b.tar.bz2
bcfg2-a937c79d4be4edb5600446bcfbd8e423d74da82b.zip
doc: added note about exit_on_probe_failure
-rw-r--r--doc/server/plugins/probes/index.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/server/plugins/probes/index.txt b/doc/server/plugins/probes/index.txt
index e0d572323..cb7b30ad0 100644
--- a/doc/server/plugins/probes/index.txt
+++ b/doc/server/plugins/probes/index.txt
@@ -32,6 +32,15 @@ interpreter.
that the bcfg2 client creates the temporary files in a directory
from which it can execute.
+.. note::
+
+ .. versionadded:: 1.3.0
+
+ A probe script must exit with a return value of 0. If it exits
+ with a non-0 return value, the client will abort its run. This
+ behavior can be disabled by setting ``exit_on_probe_failure = 0``
+ in the ``[client]`` section of ``bcfg2.conf``.
+
Now we need to figure out what exactly we want to do. In this case,
we want to hand out an ``/etc/auto.master`` file that looks like::