diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2011-01-23 11:36:31 -0600 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2011-01-23 11:36:31 -0600 |
commit | 8106d1b4fafa34d36b2984a5334d40789a6aab49 (patch) | |
tree | 885b61d29775af9f2019a306131d9ee50089dce8 /src/lib | |
parent | 98643130324d5523e2c819a0d6499ff88e5a6673 (diff) | |
download | bcfg2-8106d1b4fafa34d36b2984a5334d40789a6aab49.tar.gz bcfg2-8106d1b4fafa34d36b2984a5334d40789a6aab49.tar.bz2 bcfg2-8106d1b4fafa34d36b2984a5334d40789a6aab49.zip |
Metadata: Raise MetadataConsistencyError when set_profile fails
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 fde0ab77c..fb7455a4c 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -473,6 +473,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin, else: """Try to find the client in included files""" self.logger.error("Metadata: Unable to update profile for client %s. Use of Xinclude?" % client) + raise MetadataConsistencyError else: self.logger.info("Creating new client: %s, profile %s" % \ (client, profile)) |