From 31b98e72ebad094f8692085d74479a758a7527ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20BERSAC?= Date: Mon, 20 Apr 2015 15:11:28 +0200 Subject: [PATCH] Initialize state file client after pillar loading --- salt/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/state.py b/salt/state.py index 0b9e2138b3..3f90bc66d3 100644 --- a/salt/state.py +++ b/salt/state.py @@ -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