Merge pull request #39862 from rallytime/bp-38943

Back-port #38943 to 2016.11
This commit is contained in:
Mike Place 2017-03-06 20:34:39 -07:00 committed by GitHub
commit 49c8faa141

View file

@ -901,9 +901,11 @@ class Single(object):
opts_pkg['id'] = self.id
retcode = 0
popts = {}
popts.update(opts_pkg['__master_opts__'])
popts.update(opts_pkg)
pillar = salt.pillar.Pillar(
opts_pkg,
popts,
opts_pkg['grains'],
opts_pkg['id'],
opts_pkg.get('environment', 'base')