From 154459887d26029fe7aab0f0a681805ea2ef2a6a Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 3 May 2010 08:40:45 -0500 Subject: doc: Clarify Trigger usage/setup Signed-off-by: Sol Jerome --- doc/server/plugins/trigger.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3-1-g7c22