summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Defaults.py
Commit message (Collapse)AuthorAgeFilesLines
* Rules: New options replace_name to replace %{name} in attributesAlexander Sulfrian2015-08-261-1/+11
| | | | | | | | | | | | | 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}'/>
* Options: migrated plugins to new options parserChris St. Pierre2013-06-271-0/+2
|
* Defaults: change to GoalValidator to apply defaults after structures are ↵Chris St. Pierre2013-02-131-19/+10
| | | | bound (#1136)
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-5/+2
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-2/+2
|
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+53
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>