diff options
author | Kristian Kostecky <kris@vmfarms.com> | 2011-06-21 16:36:35 -0400 |
---|---|---|
committer | Kristian Kostecky <kris@vmfarms.com> | 2011-06-21 16:36:35 -0400 |
commit | 772382d68d6d9014f7f590b3dbd68a87dc918e32 (patch) | |
tree | 4707a7d5e43433efd6d24ba32503494254ef2b3a | |
parent | 45f7e202f6b7860214d709d0d470f2c8938c2993 (diff) | |
download | bcfg2-772382d68d6d9014f7f590b3dbd68a87dc918e32.tar.gz bcfg2-772382d68d6d9014f7f590b3dbd68a87dc918e32.tar.bz2 bcfg2-772382d68d6d9014f7f590b3dbd68a87dc918e32.zip |
Added auth attrib to list of valid attribs that the Client object can add/update
-rw-r--r-- | src/lib/Server/Admin/Client.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/Server/Admin/Client.py b/src/lib/Server/Admin/Client.py index 3af25b15a..81fc4a1b1 100644 --- a/src/lib/Server/Admin/Client.py +++ b/src/lib/Server/Admin/Client.py @@ -27,7 +27,8 @@ class Client(Bcfg2.Server.Admin.MetadataCore): for i in args[2:]: attr, val = i.split('=', 1) if attr not in ['profile', 'uuid', 'password', - 'location', 'secure', 'address']: + 'location', 'secure', 'address', + 'auth']: print("Attribute %s unknown" % attr) raise SystemExit(1) attr_d[attr] = val @@ -41,7 +42,8 @@ class Client(Bcfg2.Server.Admin.MetadataCore): for i in args[2:]: attr, val = i.split('=', 1) if attr not in ['profile', 'uuid', 'password', - 'location', 'secure', 'address']: + 'location', 'secure', 'address', + 'auth']: print("Attribute %s unknown" % attr) raise SystemExit(1) attr_d[attr] = val |