summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-04-30 20:14:32 +0200
committerGeorg Pfuetzenreuter2023-04-30 20:14:32 +0200
commitedd16ff3a7fa329510f09f53797eb8b2550edef1 (patch)
treeb22bedd147835626b19745dcfc9395f15dd6442b
parentf56ed6f64eeeef273f228448209930b66d99d516 (diff)
parent1290fd5ec7671d1a7f4ae6ea854107de14ab0e96 (diff)
downloadsalt-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
-rw-r--r--salt/common/suse.sls2
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 #}