diff --git a/salt/common/suse.sls b/salt/common/suse.sls index da0a99e..daac244 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -1,4 +1,4 @@ -{%- set roles = salt['http.query']('http://machine-roles.lysergic.dev:4580/roles', decode=True, decode_type='json', params={"machine": id})['dict']['roles'] -%} +{%- set roles = salt['http.query']('http://machine-roles.lysergic.dev:4580/roles', decode=True, decode_type='json', params={"machine": grains['id']})['dict']['roles'] -%} include: {#- drop pillar check after all firewall configurations have been imported #}