Page MenuHomeDevCentral

D2868.diff
No OneTemporary

D2868.diff

diff --git a/roles/core/userland-software/files/Nasqueron.conf b/roles/core/userland-software/files/Nasqueron.conf
new file mode 100644
--- /dev/null
+++ b/roles/core/userland-software/files/Nasqueron.conf
@@ -0,0 +1,19 @@
+# -------------------------------------------------------------
+# Nasqueron repository for FreeBSD packages
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# -------------------------------------------------------------
+#
+# <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>
+# -------------------------------------------------------------
+
+Nasqueron: {
+ url: "pkg+https://packages.nasqueron.org/freebsd",
+ mirror_type: "srv",
+ enabled: yes
+}
diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls
--- a/roles/core/userland-software/init.sls
+++ b/roles/core/userland-software/init.sls
@@ -12,6 +12,13 @@
# Software sources
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+{% if grains['os'] == 'FreeBSD' %}
+/usr/local/etc/pkg/repos/Nasqueron.conf:
+ file.managed:
+ - source: salt://roles/core/userland-software/files/Nasqueron.conf
+ - makedirs: True
+{% endif %}
+
{% if grains['os_family'] == 'RedHat' and grains['os'] != 'Fedora' %}
epel-release:
pkg.installed

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 05:58 (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266199
Default Alt Text
D2868.diff (1 KB)

Event Timeline