summaryrefslogtreecommitdiffstats
path: root/doc/releases/1.4.0pre2.txt
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2015-07-22 18:39:32 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2015-08-26 19:12:30 +0200
commit6851a2931869aa9d9181b7b2d95f048aa5415a23 (patch)
tree5d56dbf8ecc48ff6a9f1970d91445366e34534f0 /doc/releases/1.4.0pre2.txt
parentc7e67299381df961ff8274e9b53827c2bddbb47b (diff)
downloadbcfg2-6851a2931869aa9d9181b7b2d95f048aa5415a23.tar.gz
bcfg2-6851a2931869aa9d9181b7b2d95f048aa5415a23.tar.bz2
bcfg2-6851a2931869aa9d9181b7b2d95f048aa5415a23.zip
Rules: New options replace_name to replace %{name} in attributes
If you use the regex feature of Rules/Defaults you may need the real name of the matched entry in an attribute (for example home of POSIXUser). You can now enable replace_name for rules or defaults and %{name} will be replaces in the attribues of the Element before adding them to the target entry. This allows you to write something like that in Defaults to assing a default home directory somewhere else to all users with unset home: <POSIXUser name='.*' home='/somewhere/%{name}'/>
Diffstat (limited to 'doc/releases/1.4.0pre2.txt')
-rw-r--r--doc/releases/1.4.0pre2.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/releases/1.4.0pre2.txt b/doc/releases/1.4.0pre2.txt
index a5c10777a..9ad64db4e 100644
--- a/doc/releases/1.4.0pre2.txt
+++ b/doc/releases/1.4.0pre2.txt
@@ -19,6 +19,7 @@ environments.
* NagiosGen: Add bundles to configuration
* HomeBrew: Initial add of plugin
+* Rules/Defaults: Add possibility to use name of entry in attributes
backwards-incompatible user-facing changes
------------------------------------------