Export tags to cluster verify hooks
authorIustin Pop <iustin@google.com>
Mon, 2 Mar 2009 12:19:45 +0000 (12:19 +0000)
committerIustin Pop <iustin@google.com>
Mon, 2 Mar 2009 12:19:45 +0000 (12:19 +0000)
commit35e994e9304cd227e4524333594fc538d81a7d7d
tree316d888c70c1afbae66fbe0c74fb9df1ca131b19
parent28ab6fed934bd56da2b1f53b7f3952b805433aaf
Export tags to cluster verify hooks

This patch export the cluster and node tags to the cluster verify hook
scripts. The tags are exported as a space-separated list, which allows
easy parsing from the shell (e.g. “for tag in $GANETI_CLUSTER_TAGS; do
...”) and therefore requires the previous “Don't allow spaces in tag
names” patch.

The patch also fixes a minor line length style problem.

Reviewed-by: ultrotter
doc/hooks.rst
lib/cmdlib.py