summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-12 16:53:53 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-12 16:53:53 -0400
commitfa25b112ec93f96eee47e7522047bafe29d2e92f (patch)
tree2fd1db61cd7d9dbfe956aedc111375bced719490 /doc
parent2b9d8b5e93b91063db6d4b6cde613c2d172362e3 (diff)
downloadbcfg2-fa25b112ec93f96eee47e7522047bafe29d2e92f.tar.gz
bcfg2-fa25b112ec93f96eee47e7522047bafe29d2e92f.tar.bz2
bcfg2-fa25b112ec93f96eee47e7522047bafe29d2e92f.zip
bcfg2-info: added "automatch" command to perform Properties automatching
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/connectors/properties.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/server/plugins/connectors/properties.txt b/doc/server/plugins/connectors/properties.txt
index b56c2a488..b1f92c3d2 100644
--- a/doc/server/plugins/connectors/properties.txt
+++ b/doc/server/plugins/connectors/properties.txt
@@ -116,6 +116,17 @@ simply::
You can also enable automatch for individual Property files by setting
the attribute ``automatch="true"`` in the top-level ``<Property>`` tag.
+If you want to see what ``XMLMatch()``/automatch would produce for a
+given client on a given Properties file, you can use :ref:`bcfg2-info
+<server-bcfg2-info>`::
+
+ bcfg2-info automatch props.xml foo.example.com
+
+If automatch is not enabled, you can force ``bcfg2-info`` to perform
+it anyway with ``-f``::
+
+ bcfg2-info automatch -f props.xml foo.example.com
+
.. _server-plugins-connectors-properties-write-back:
Writing to Properties files