summaryrefslogtreecommitdiffstats
path: root/doc/server/plugins/structures/defaults.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/server/plugins/structures/defaults.txt')
-rw-r--r--doc/server/plugins/structures/defaults.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/server/plugins/structures/defaults.txt b/doc/server/plugins/structures/defaults.txt
index 58b9feddb..9d37b8e64 100644
--- a/doc/server/plugins/structures/defaults.txt
+++ b/doc/server/plugins/structures/defaults.txt
@@ -29,3 +29,10 @@ on Fedora 15 and the ``chkconfig`` tool on Fedora 14, you could do::
If you were to specify a ``type`` attribute for a Service entry in
Rules (or a ``type`` attribute for a BoundService entry in Bundler),
that would take precendence over the default.
+
+Like :ref:`server-plugins-generators-rules`, Defaults can also replace
+``%{name}`` in attributes with the real name of the entry. To enable this,
+add the following setting to ``bcfg2.conf``::
+
+ [defaults]
+ replace_name = yes