Merge pull request #22850 from bersace/fix-pillar-salt-mixed

Fix pillar and salt fileserver mixed
This commit is contained in:
Thomas S Hatch 2015-04-21 11:04:33 -06:00
commit fd53889f0e

View File

@ -2237,7 +2237,7 @@ class BaseHighState(object):
),
self.state.rend,
self.state.opts['renderer'],
env=self.opts['environment']
saltenv=self.opts['environment']
)
]
else:
@ -2977,9 +2977,9 @@ class HighState(BaseHighState):
def __init__(self, opts, pillar=None, jid=None):
self.opts = opts
self.state = State(self.opts, pillar, jid)
self.client = salt.fileclient.get_file_client(self.opts)
BaseHighState.__init__(self, opts)
self.state = State(self.opts, pillar, jid)
self.matcher = salt.minion.Matcher(self.opts)
# tracks all pydsl state declarations globally across sls files