Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12243121
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/core/certificates/init.sls b/roles/core/certificates/init.sls
index 5c524f1..400a52f 100644
--- a/roles/core/certificates/init.sls
+++ b/roles/core/certificates/init.sls
@@ -1,45 +1,45 @@
# -------------------------------------------------------------
# Salt - Deploy certificates
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "roles/core/certificates/map.jinja" import certificates with context %}
# -------------------------------------------------------------
# Certificates provided by trusted sources
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if "packages" in certificates %}
certificates_packages:
pkg.installed:
- pkgs: {{ certificates.packages }}
{% endif %}
# -------------------------------------------------------------
# Deploy Nasqueron certificates
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ certificates.dir }}:
file.directory:
- makedirs: True
# Vault PKI Root CA
# Used to sign intermediate authorities for 172.27.27.* services
{{ certificates.dir }}/nasqueron-vault-ca.crt:
file.managed:
- source: salt://roles/core/certificates/files/nasqueron-vault-ca.crt
- mode: 444
{% if "update-store" in certificates %}
certificates_update_store:
cmd.run:
- - name: {{ certificates.update-store }}
+ - name: {{ certificates["update-store"] }}
- onchanges:
- file: {{ certificates.dir }}/nasqueron-vault-ca.crt
{% endif %}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 12, 11:52 (47 m, 43 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3065897
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment