From 39e6b9251bf55f5380087690fc118611f68cb2f5 Mon Sep 17 00:00:00 2001 From: freckledkev Date: Mon, 26 Jun 2017 20:55:18 +0000 Subject: [PATCH] Adding 'lookup' to grain for ash_role. --- src/watchmaker/workers/salt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watchmaker/workers/salt.py b/src/watchmaker/workers/salt.py index 9afa9ffc5..30e36b826 100644 --- a/src/watchmaker/workers/salt.py +++ b/src/watchmaker/workers/salt.py @@ -727,7 +727,7 @@ def install(self): self.log.error('Failed to restart %s service', salt_svc) if self.ash_role and self.ash_role != 'None': - role = {'role': str(self.ash_role)} + role = {'lookup': {'role': str(self.ash_role)}} self._set_grain('ash-windows', role) self.process_grains()