diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-05-03 08:40:45 -0500 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-05-03 08:40:45 -0500 |
commit | 154459887d26029fe7aab0f0a681805ea2ef2a6a (patch) | |
tree | e70df9771d864dfafc22040312ec9bcacddc0bf2 /doc | |
parent | 780f03b01a48daccceb287de61f2ff89e6c5056c (diff) | |
download | bcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.tar.gz bcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.tar.bz2 bcfg2-154459887d26029fe7aab0f0a681805ea2ef2a6a.zip |
doc: Clarify Trigger usage/setup
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/plugins/trigger.txt | 7 |
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 |