From 9c73b2945a841bb0f1cbd45706d9c33dd9ad057c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 22 Jan 2011 19:34:21 +0100 Subject: Moved trigger.txt --- doc/server/plugins/trigger.txt | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 doc/server/plugins/trigger.txt (limited to 'doc') diff --git a/doc/server/plugins/trigger.txt b/doc/server/plugins/trigger.txt deleted file mode 100644 index 853b524e4..000000000 --- a/doc/server/plugins/trigger.txt +++ /dev/null @@ -1,37 +0,0 @@ -.. -*- mode: rst -*- - -.. _server-plugins-trigger: - -======= -Trigger -======= - -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 - chmod +x /var/lib/bcfg2/Trigger/test.sh - -Use cases -========= - -#. Completing network builds (ie resetting from the build target to the boot pxe target) -#. Integration with external systems - -Trigger Arguments -================= - -Triggers are run with a series of arguments. - -#. client hostname -#. -p -#. client profile -#. -g -#. group1:group2:..:groupN (all client groups) -- cgit v1.2.3-1-g7c22