Skip to content

Commit

Permalink
Merge pull request #45 from seerickcode/no_cert_fix
Browse files Browse the repository at this point in the history
fix(update): allow for empty pillar without state fail
  • Loading branch information
myii authored Nov 5, 2021
2 parents 10db716 + 0b562f9 commit b0e4397
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 b0e4397

Please sign in to comment.