Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3785386
D3247.id8344.diff
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
D3247.id8344.diff
View Options
diff --git a/roles/core/certificates/init.sls b/roles/core/certificates/init.sls
--- a/roles/core/certificates/init.sls
+++ b/roles/core/certificates/init.sls
@@ -5,41 +5,5 @@
# 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"] }}
- - onchanges:
- - file: {{ certificates.dir }}/nasqueron-vault-ca.crt
-
-{% endif %}
+include:
+ - .nasqueron
diff --git a/roles/core/certificates/init.sls b/roles/core/certificates/nasqueron.sls
copy from roles/core/certificates/init.sls
copy to roles/core/certificates/nasqueron.sls
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 08:39 (19 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266571
Default Alt Text
D3247.id8344.diff (1 KB)
Attached To
Mode
D3247: Free certificates unit's init state for includes
Attached
Detach File
Event Timeline
Log In to Comment