Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4033996
D3393.id8785.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
D3393.id8785.diff
View Options
diff --git a/roles/core/salt/files/SALT-PROJECT-GPG-PUBKEY-2023.gpg b/roles/core/salt/files/SALT-PROJECT-GPG-PUBKEY-2023.gpg
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/roles/core/salt/files/salt.list b/roles/core/salt/files/salt.list
new file mode 100644
--- /dev/null
+++ b/roles/core/salt/files/salt.list
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/salt/files/salt.list
+# -------------------------------------------------------------
+#
+# <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>
+
+deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/12/amd64/latest bookworm main
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
@@ -24,6 +24,18 @@
- source: salt://roles/core/salt/files/salt.repo
{% endif %}
+{% if grains['os_family'] == 'Debian' %}
+/etc/apt/keyrings/salt-archive-keyring-2023.gpg:
+ file.managed:
+ - source: salt://roles/core/salt/files/SALT-PROJECT-GPG-PUBKEY-2023.gpg
+ - makedirs: True
+
+/etc/apt/sources.list.d/salt.list:
+ file.managed:
+ - source: salt://roles/core/salt/files/salt.list
+ - makedirs: True
+{% endif %}
+
# -------------------------------------------------------------
# Service
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 14:01 (7 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2368948
Default Alt Text
D3393.id8785.diff (1 KB)
Attached To
Mode
D3393: Update Salt repository on Debian
Attached
Detach File
Event Timeline
Log In to Comment