summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-01-22 19:34:21 +0100
committerSol Jerome <sol.jerome@gmail.com>2011-01-22 13:07:16 -0600
commit9c73b2945a841bb0f1cbd45706d9c33dd9ad057c (patch)
tree06abc1010cc35e23e6fff6156dd46f03c307bcfa
parentb77bfd1d1d7a8c1980a32b5d9559c740d5012082 (diff)
downloadbcfg2-9c73b2945a841bb0f1cbd45706d9c33dd9ad057c.tar.gz
bcfg2-9c73b2945a841bb0f1cbd45706d9c33dd9ad057c.tar.bz2
bcfg2-9c73b2945a841bb0f1cbd45706d9c33dd9ad057c.zip
Moved trigger.txt
-rw-r--r--doc/server/plugins/trigger.txt37
1 files changed, 0 insertions, 37 deletions
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)