Merge pull request #47354 from folti/46751_fix

fix forward port of #46751
This commit is contained in:
Nicole Thomas 2018-05-03 16:33:16 -04:00 committed by GitHub
commit 98fa44b3a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3012,7 +3012,7 @@ class BaseHighState(object):
'top_file_merging_strategy set to \'same\', but no '
'default_top configuration option was set'
)
self.opts['environment'] = self.opts['default_top']
self.opts['saltenv'] = self.opts['default_top']
if self.opts['saltenv']:
contents = self.client.cache_file(