make sure to copy the top dict reference since we are moding it

This commit is contained in:
Thomas S Hatch 2017-01-25 09:44:16 -07:00 committed by rallytime
parent a0b671ea43
commit 58cb8cd4f5

View file

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