summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Rules.py
Commit message (Collapse)AuthorAgeFilesLines
* Rules: New options replace_name to replace %{name} in attributesAlexander Sulfrian2015-08-261-1/+26
| | | | | | | | | | | | | 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}'/>
* Plugins: refactored out unnecessary datastore constructor argumentChris St. Pierre2013-10-291-2/+2
|
* Rules: fixed HandlesEntry for XMLSrc replacementChris St. Pierre2013-08-291-3/+4
| | | | | | This makes HandlesEntry work with the new code that's in place for StructFile to replace XMLSrc. Fixes https://github.com/Bcfg2/bcfg2/commit/2169edc1bba82076db776b75db89b79d6f2f4786#commitcomment-3968162
* Options: migrated plugins to new options parserChris St. Pierre2013-06-271-1/+7
|
* Fixing unit testsChris St. Pierre2013-04-251-2/+2
|
* converted InfoXML objects from XMLSrc to StructFileChris St. Pierre2013-02-061-18/+11
|
* added unit tests for Rules and DefaultsChris St. Pierre2012-12-181-4/+3
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-0/+2
|
* moved plugin-specific configs to main config file; propagate "setup" object ↵Chris St. Pierre2012-05-111-5/+1
| | | | to server Core
* Allow to run directly from a git checkout (#1037)Sol Jerome2012-03-241-0/+55
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>