Merge pull request #19704 from cachedout/aes_fix

Fix key error preventing master start
This commit is contained in:
Mike Place 2015-01-13 12:49:44 -07:00
commit 8e26499c19

View File

@ -2035,7 +2035,7 @@ def master_config(path, env_var='SALT_MASTER_CONFIG', defaults=None):
# out or not present.
if opts.get('nodegroups') is None:
opts['nodegroups'] = DEFAULT_MASTER_OPTS.get('nodegroups', {})
if opts.get('transport') == 'raet':
if opts.get('transport') == 'raet' and 'aes' in opts:
opts.pop('aes')
return opts