Page MenuHomeDevCentral

D2139.diff
No OneTemporary

D2139.diff

diff --git a/roles/core/init.sls b/roles/core/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/init.sls
@@ -11,6 +11,7 @@
- .login
- .network
- .motd
+ - .ports
- .rsyslog
- .salt
- .sshd
diff --git a/roles/core/init.sls b/roles/core/ports/init.sls
copy from roles/core/init.sls
copy to roles/core/ports/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/ports/init.sls
@@ -1,21 +1,16 @@
# -------------------------------------------------------------
-# Salt — Core units
+# Extract FreeBSD ports
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
+# Created: 2020-01-20
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .rc
- - .hostname
- - .login
- - .network
- - .motd
- - .rsyslog
- - .salt
- - .sshd
- - .sudo
- - .sysctl
- - .timezone
- - .userland-software
- - .users
+{% if grains['os'] == 'FreeBSD' %}
+
+/usr/ports:
+ cmd.run:
+ - name: portsnap fetch extract
+ - creates: /usr/ports
+
+{% endif %}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 01:29 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263665
Default Alt Text
D2139.diff (1 KB)

Event Timeline