When using the vault module on a 2018.3 minion against a 2017.7 master, the 2018.3 minion is expecting a verify element in the results from the Salt runner on the master. The runner in 2017.7 did not include a verify element, which results in an error. This change accounts for this by using the default in 2018.3 which is not to verify if not configured.

This commit is contained in:
Gareth J. Greenaway 2018-04-20 18:25:45 -07:00
parent 1947ffdf56
commit 1758081ffe
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -87,7 +87,7 @@ def _get_token_and_url_from_master():
return {
'url': result['url'],
'token': result['token'],
'verify': result['verify'],
'verify': result.get('verify', None),
}