When we generate the pillar we should send in the master opts

This better reflects how salt works per #38830
This commit is contained in:
Thomas S Hatch 2017-01-25 09:39:27 -07:00 committed by rallytime
parent 8ecc719f90
commit a0b671ea43

View file

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