Merge pull request #47369 from terminalmage/ldap_pillar

Return an empty dict if no search_order in ldap ext_pillar config file
This commit is contained in:
Nicole Thomas 2018-04-27 16:58:51 -04:00 committed by GitHub
commit 57c75ff660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,6 +324,7 @@ def ext_pillar(minion_id, # pylint: disable=W0613
'pillar_ldap: search_order missing from configuration. See the '
'documentation for more information.'
)
return {}
data = {}
for source in opts['search_order']: