Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3751354
D3593.id.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
D3593.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3593: Switch to latest branch of the FreeBSD packages repository
Attached
Detach File
Event Timeline
Log In to Comment