diff options
author | Matt Woodson <mwoodson@gmail.com> | 2015-09-11 13:02:28 -0400 |
---|---|---|
committer | Matt Woodson <mwoodson@gmail.com> | 2015-09-11 13:02:28 -0400 |
commit | da9326c388c4e6ea68aa9d0df348db237602cc51 (patch) | |
tree | a3dba9451e7475b3c2ab121bf06bd7ed126ccaf1 /roles/lib_zabbix/library/zbx_user.py | |
parent | a5011b9ad04c552a5fcda77d08cdb5fa77d40f01 (diff) | |
parent | 5adc02254b9eb4ac2e308104711eeec7e39b2c4e (diff) | |
download | openshift-da9326c388c4e6ea68aa9d0df348db237602cc51.tar.gz openshift-da9326c388c4e6ea68aa9d0df348db237602cc51.tar.bz2 openshift-da9326c388c4e6ea68aa9d0df348db237602cc51.tar.xz openshift-da9326c388c4e6ea68aa9d0df348db237602cc51.zip |
Merge pull request #577 from kwoodson/tmp
Fixing a few zbx api issues to make idempotency work.
Diffstat (limited to 'roles/lib_zabbix/library/zbx_user.py')
-rw-r--r-- | roles/lib_zabbix/library/zbx_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_zabbix/library/zbx_user.py b/roles/lib_zabbix/library/zbx_user.py index c916fa96a..62c85c1bf 100644 --- a/roles/lib_zabbix/library/zbx_user.py +++ b/roles/lib_zabbix/library/zbx_user.py @@ -164,7 +164,7 @@ def main(): if key == 'usrgrps': # this must be done as a list of ordered dictionaries fails comparison - if not all([True for _ in zab_results[key][0] if _ in value[0]]): + if not all([_ in value for _ in zab_results[key]]): differences[key] = value elif zab_results[key] != value and zab_results[key] != str(value): |