Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3777455
D2139.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
D2139.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2139: Deploy ports tree on FreeBSD servers
Attached
Detach File
Event Timeline
Log In to Comment