summaryrefslogtreecommitdiffstats
path: root/pillar
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-15 17:06:29 +0100
committerGeorg Pfuetzenreuter2023-01-15 17:40:01 +0100
commitfe2a1a21b9931818807613ca43342719100e78d8 (patch)
tree2c3931151f245a1490e28b0b84bbb4a8622f64b0 /pillar
parenteb1731e7a11bfc94f7a02a43b8e5db262660f03d (diff)
downloadsalt-fe2a1a21b9931818807613ca43342719100e78d8.tar.gz
salt-fe2a1a21b9931818807613ca43342719100e78d8.tar.bz2
salt-fe2a1a21b9931818807613ca43342719100e78d8.zip
Use traditional grains management
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'pillar')
-rw-r--r--pillar/role/salt/minion.sls6
1 files changed, 0 insertions, 6 deletions
diff --git a/pillar/role/salt/minion.sls b/pillar/role/salt/minion.sls
index 9b1c850..0e0fb8a 100644
--- a/pillar/role/salt/minion.sls
+++ b/pillar/role/salt/minion.sls
@@ -1,11 +1,5 @@
-{%- set myconfig = pillar['netbox']['config_context'] -%}
-
salt:
minion_remove_config: True
minion:
master_type: str
master: {{ myconfig['salt_master'] }}
- {%- if 'roles' in myconfig and myconfig['roles'] | length > 0 %}
- grains:
- roles: {{ myconfig['roles'] }}
- {%- endif %}