diff options
author | Georg Pfuetzenreuter | 2023-04-30 20:14:32 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-04-30 20:14:32 +0200 |
commit | edd16ff3a7fa329510f09f53797eb8b2550edef1 (patch) | |
tree | b22bedd147835626b19745dcfc9395f15dd6442b /salt/common | |
parent | f56ed6f64eeeef273f228448209930b66d99d516 (diff) | |
parent | 1290fd5ec7671d1a7f4ae6ea854107de14ab0e96 (diff) | |
download | salt-edd16ff3a7fa329510f09f53797eb8b2550edef1.tar.gz salt-edd16ff3a7fa329510f09f53797eb8b2550edef1.tar.bz2 salt-edd16ff3a7fa329510f09f53797eb8b2550edef1.zip |
Merge pull request 'Repair undefined id' (#55) from common-id-var into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/55
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 #} |