summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestDefaults.py
Commit message (Collapse)AuthorAgeFilesLines
* Rules: New options replace_name to replace %{name} in attributesAlexander Sulfrian2015-08-261-0/+9
| | | | | | | | | | | | | 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}'/>
* testsuite: rewrote Rules/Defaults tests to be actually usefulChris St. Pierre2013-08-291-0/+29
|
* Defaults: change to GoalValidator to apply defaults after structures are ↵Chris St. Pierre2013-02-131-10/+7
| | | | bound (#1136)
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-0/+67