Page MenuHomeDevCentral

D3533.id.diff
No OneTemporary

D3533.id.diff

diff --git a/hotfixes/init.sls b/hotfixes/init.sls
--- a/hotfixes/init.sls
+++ b/hotfixes/init.sls
@@ -16,3 +16,4 @@
- .portsnap
- .python3
- .old-directories
+ - .tmux
diff --git a/hotfixes/tmux.sls b/hotfixes/tmux.sls
new file mode 100644
--- /dev/null
+++ b/hotfixes/tmux.sls
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Salt — Prune tmux default configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# T2029
+# Don't provision root tmux config as default
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/etc/tmux.conf:
+ file.absent
+
+/usr/local/etc/tmux.conf:
+ file.absent
diff --git a/roles/core/userland-software/base.sls b/roles/core/userland-software/base.sls
--- a/roles/core/userland-software/base.sls
+++ b/roles/core/userland-software/base.sls
@@ -47,7 +47,7 @@
tmux:
pkg.installed
-{{ dirs.etc }}/tmux.conf:
+/root/.tmux.conf:
file.managed:
- source: salt://roles/core/userland-software/files/tmux.conf

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 21:12 (15 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261043
Default Alt Text
D3533.id.diff (1 KB)

Event Timeline