diff options
author | Georg Pfuetzenreuter | 2023-04-30 20:11:24 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-04-30 20:11:24 +0200 |
commit | 1290fd5ec7671d1a7f4ae6ea854107de14ab0e96 (patch) | |
tree | ccf629d7889572afb62a2a6cb6d9f17360a2bb72 /salt/common | |
parent | d8263f9b8034e0d5c920232811142d589c5ae73e (diff) | |
download | salt-1290fd5ec7671d1a7f4ae6ea854107de14ab0e96.tar.gz salt-1290fd5ec7671d1a7f4ae6ea854107de14ab0e96.tar.bz2 salt-1290fd5ec7671d1a7f4ae6ea854107de14ab0e96.zip |
Repair undefined id
Replace with call to grains dict.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'salt/common')
-rw-r--r-- | salt/common/suse.sls | 2 |
1 files changed, 1 insertions, 1 deletions
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 #} |