Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3931087
D2140.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
974 B
Referenced Files
None
Subscribers
None
D2140.id.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
+ - .src
- .ports
- .rsyslog
- .salt
diff --git a/roles/core/src/init.sls b/roles/core/src/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/core/src/init.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Extract FreeBSD sources
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2020-01-20
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% if grains['os'] == 'FreeBSD' %}
+
+{% set version = grains['kernelrelease'].split("-")[0] %}
+
+freebsd_src:
+ cmd.run:
+ - name: svnlite checkout https://svn.freebsd.org/base/releng/{{ version }} /usr/src
+ - creates: /usr/src/Makefile
+
+{% endif %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 17:15 (5 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312860
Default Alt Text
D2140.id.diff (974 B)
Attached To
Mode
D2140: Deploy FreeBSD sources
Attached
Detach File
Event Timeline
Log In to Comment