diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2014-06-10 13:54:03 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2014-06-10 13:54:03 -0500 |
commit | 70d618b9dc3a3784e9a84aa242157e1ade102216 (patch) | |
tree | 093d25de0edbe5c69534aa7033fc3c40b0cf94ae /src/lib/Bcfg2/Server/Plugin/helpers.py | |
parent | 3d1b2b3a2d549a69e6a997b042020ff113c6f86b (diff) | |
parent | 9b36d0bf226e19baf50c45faac601effb8c17090 (diff) | |
download | bcfg2-70d618b9dc3a3784e9a84aa242157e1ade102216.tar.gz bcfg2-70d618b9dc3a3784e9a84aa242157e1ade102216.tar.bz2 bcfg2-70d618b9dc3a3784e9a84aa242157e1ade102216.zip |
Merge branch 'maint'
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Conflicts:
doc/server/plugins/structures/bundler/index.txt
src/lib/Bcfg2/Server/Admin/Init.py
src/lib/Bcfg2/Server/Plugins/GroupLogic.py
src/lib/Bcfg2/Server/Plugins/Properties.py
src/lib/Bcfg2/Server/Plugins/Reporting.py
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugin/helpers.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugin/helpers.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin/helpers.py b/src/lib/Bcfg2/Server/Plugin/helpers.py index b5ab1c18b..456038c2f 100644 --- a/src/lib/Bcfg2/Server/Plugin/helpers.py +++ b/src/lib/Bcfg2/Server/Plugin/helpers.py @@ -647,7 +647,13 @@ class XMLFileBacked(FileBacked): if el.findall('./%sfallback' % Bcfg2.Server.XI_NAMESPACE): self.logger.debug(msg) else: - self.logger.warning(msg) + self.logger.error(msg) + # add a FAM monitor for this path. this isn't perfect + # -- if there's an xinclude of "*.xml", we'll watch + # the literal filename "*.xml". but for non-globbing + # filenames, it works fine. + if fpath not in self.extra_monitors: + self.add_monitor(fpath) parent = el.getparent() parent.remove(el) |