Skip to content

Commit

Permalink
add autosign grains for minion
Browse files Browse the repository at this point in the history
  • Loading branch information
hewencong committed Apr 27, 2020
1 parent f10a85f commit bc5e0ec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions salt/files/minion.d/autosign_grains.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# This file is managed by Salt! Do not edit by hand!
#
{%- set autosign_grains = salt['pillar.get']('salt:autosign_grains', []) + salt['pillar.get']('salt:autosign_grains', []) + salt['pillar.get']('salt:minion:autosign_grains', []) -%}

{%- if autosign_grains %}
autosign_grains:
{%- for autosign_grain in autosign_grains %}
- '{{ autosign_grain }}'
{%- endfor -%}
{%- endif -%}

0 comments on commit bc5e0ec

Please sign in to comment.