Merge pull request #47465 from rallytime/bp-47354

Back-port #47354 to 2018.3
This commit is contained in:
Nicole Thomas 2018-05-04 09:06:03 -04:00 committed by GitHub
commit 3658604c43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2999,7 +2999,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(