diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-25 01:27:39 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-25 01:27:39 +0200 |
commit | f012d326aa9e4e22257e3eba4464516e3cf40eed (patch) | |
tree | 724dc991b95bcef079619acd50584176583dee2d /src/lib/Bcfg2/Server/Plugins/Metadata.py | |
parent | a976cf753349ca79196b1260675bc36f253ed9dd (diff) | |
download | bcfg2-f012d326aa9e4e22257e3eba4464516e3cf40eed.tar.gz bcfg2-f012d326aa9e4e22257e3eba4464516e3cf40eed.tar.bz2 bcfg2-f012d326aa9e4e22257e3eba4464516e3cf40eed.zip |
FIXME: Ignore missing password attribute for now
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Metadata.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Metadata.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Metadata.py b/src/lib/Bcfg2/Server/Plugins/Metadata.py index bdefd4b45..b6ee3e6d4 100644 --- a/src/lib/Bcfg2/Server/Plugins/Metadata.py +++ b/src/lib/Bcfg2/Server/Plugins/Metadata.py @@ -558,7 +558,12 @@ class Metadata(Bcfg2.Server.Plugin.Metadata, self.cache = Cache("Metadata") self.default = None self.pdirty = False - self.password = Bcfg2.Options.setup.password + + try: + self.password = Bcfg2.Options.setup.password + except AttributeError as e: + pass + self.query = MetadataQuery(core.build_metadata, self.list_clients, self.get_client_names_by_groups, |