diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-09-08 21:07:05 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-09-12 21:23:50 -0500 |
commit | 877f0481197e48f4fc940a7503134d09718b75d6 (patch) | |
tree | a16a030e81b55ca4922958df36f88f15328bf768 /src/lib | |
parent | 46adbb73a8bd523f27cfc580ee8664d1f354ddaf (diff) | |
download | bcfg2-877f0481197e48f4fc940a7503134d09718b75d6.tar.gz bcfg2-877f0481197e48f4fc940a7503134d09718b75d6.tar.bz2 bcfg2-877f0481197e48f4fc940a7503134d09718b75d6.zip |
Metadata: Add error message when file monitor fails
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@6052 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index de6f2f612..3161a69e3 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -74,6 +74,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, core.fam.AddMonitor("%s/%s" % (self.data, "groups.xml"), self) core.fam.AddMonitor("%s/%s" % (self.data, "clients.xml"), self) except: + print("Unable to add file monitor for groups.xml or clients.xml") raise Bcfg2.Server.Plugin.PluginInitError self.states = {} if watch_clients: |