Page MenuHomeDevCentral

D3593.id.diff
No OneTemporary

D3593.id.diff

diff --git a/roles/core/userland-software/files/sources/FreeBSD.conf b/roles/core/userland-software/files/sources/FreeBSD.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/userland-software/files/sources/FreeBSD.conf
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------
+# FreeBSD repository
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Source file: roles/core/userland-software/files/sources/FreeBSD.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>
+# -------------------------------------------------------------
+
+FreeBSD: {
+ url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
+ mirror_type: "srv",
+ signature_type: "fingerprints",
+ fingerprints: "/usr/share/keys/pkg",
+ enabled: yes
+}
diff --git a/roles/core/userland-software/sources.sls b/roles/core/userland-software/sources.sls
--- a/roles/core/userland-software/sources.sls
+++ b/roles/core/userland-software/sources.sls
@@ -11,10 +11,12 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% if grains['os'] == 'FreeBSD' %}
-/usr/local/etc/pkg/repos/Nasqueron.conf:
+{% for repo in ["FreeBSD.conf", "Nasqueron.conf"] %}
+/usr/local/etc/pkg/repos/{{ repo }}:
file.managed:
- - source: salt://roles/core/userland-software/files/sources/Nasqueron.conf
+ - source: salt://roles/core/userland-software/files/sources/{{ repo }}
- makedirs: True
+{% endfor %}
git:
pkg.installed

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 07:49 (17 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250440
Default Alt Text
D3593.id.diff (1 KB)

Event Timeline