summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-05-03 08:40:45 -0500
committerSol Jerome <solj@ices.utexas.edu>2010-05-03 08:40:45 -0500
commit154459887d26029fe7aab0f0a681805ea2ef2a6a (patch)
treee70df9771d864dfafc22040312ec9bcacddc0bf2
parent780f03b01a48daccceb287de61f2ff89e6c5056c (diff)
downloadbcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.tar.gz
bcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.tar.bz2
bcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.zip
doc: Clarify Trigger usage/setup
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
-rw-r--r--doc/server/plugins/trigger.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/server/plugins/trigger.txt b/doc/server/plugins/trigger.txt
index 065bc5ad2..853b524e4 100644
--- a/doc/server/plugins/trigger.txt
+++ b/doc/server/plugins/trigger.txt
@@ -6,13 +6,14 @@
Trigger
=======
-Trigger is a plugin that calls external scripts when clients are
-configured.
+Trigger is a plugin that calls external scripts (on the server) when
+clients are configured.
Setup
=====
-::
+First, add Trigger to the **plugins** line in bcfg2.conf. Then do the
+following::
mkdir /var/lib/bcfg2/Trigger
echo "#!/bin/sh\necho $1\n" > /var/lib/bcfg2/Trigger/test.sh