Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769246
D2798.id7104.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
D2798.id7104.diff
View Options
diff --git a/roles/core/salt/files/vault.conf b/roles/core/salt/files/vault.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/salt/files/vault.conf
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Salt configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/salt/files/vault.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+vault:
+ verify: {{ certificate }}
diff --git a/roles/core/salt/init.sls b/roles/core/salt/init.sls
--- a/roles/core/salt/init.sls
+++ b/roles/core/salt/init.sls
@@ -6,7 +6,21 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% from "map.jinja" import dirs with context %}
+{% from "roles/core/certificates/map.jinja" import certificates with context %}
+
salt_roles:
grains.list_present:
- name: roles
- value: {{ salt['node.get_list']("roles") }}
+
+# -------------------------------------------------------------
+# Vault
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{{ dirs.etc }}/salt/minion.d/vault.conf:
+ file.managed:
+ - source: salt://roles/core/salt/files/vault.conf
+ - template: jinja
+ - context:
+ certificate: {{ certificates.dir }}/nasqueron-vault-ca.crt
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 13:52 (6 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260279
Default Alt Text
D2798.id7104.diff (1 KB)
Attached To
Mode
D2798: Provide certificate path to Salt Vault configuration
Attached
Detach File
Event Timeline
Log In to Comment