Skip to content

Commit

Permalink
fix(update): allow for empty pillar without state fail
Browse files Browse the repository at this point in the history
  • Loading branch information
seerickcode committed Sep 28, 2021
1 parent ef33d4d commit 0b562f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cert/deployed/files.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
# Deploy certificates
# Place all files in a files_roots/cert, e.g. /srv/salt/files/cert/
# Added so this state has some body if no certs present
# Needed so that the cert/updated/system.sls onchanges passes
cert_empty_nop:
test.nop
{% for name, data in mapdata.get('certlist', {}).items() %}
{% set cert = data.get('cert', False) %}
Expand Down

0 comments on commit 0b562f9

Please sign in to comment.