summaryrefslogtreecommitdiffstats
path: root/doc/client/tools
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-10-07 22:13:49 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-10-07 17:14:53 -0500
commit71a52e143dfa4c98942f3061b725329dbf3c97cc (patch)
treeed8905b48bfab4e6f46da41d592f878232044876 /doc/client/tools
parent367e13faee581eb9e6a93a40cb5cabc532477d08 (diff)
downloadbcfg2-71a52e143dfa4c98942f3061b725329dbf3c97cc.tar.gz
bcfg2-71a52e143dfa4c98942f3061b725329dbf3c97cc.tar.bz2
bcfg2-71a52e143dfa4c98942f3061b725329dbf3c97cc.zip
doc: Update some documentation from the trac wiki
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6093 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/client/tools')
-rw-r--r--doc/client/tools/actions.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/client/tools/actions.txt b/doc/client/tools/actions.txt
index 6b68164e3..11922b00d 100644
--- a/doc/client/tools/actions.txt
+++ b/doc/client/tools/actions.txt
@@ -66,3 +66,19 @@ Then a corresponding entry must be included in the Rules directory, like:
This allows different clients to get different actions as a part of the
same bundle based on group membership.
+
+Example Action (add APT keys)
+=============================
+
+This example will add the '0C5A2783' for aptitude. It is useful to run
+this during the client bootstrap process so that the proper keys are
+installed prior to the bcfg2 client trying to install a package which
+requires this key.
+
+.. code-block:: xml
+
+ <Rules priority='0'>
+ <Group name='ubuntu'>
+ <Action timing='post' name='apt-key-update' command='apt-key adv --recv-keys --keyserver hkp://pgp.mit.edu 0C5A2783' when='modified' status='check'/>
+ </Group>
+ </Rules>