Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3802606
D3052.id.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
D3052.id.diff
View Options
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
@@ -171,3 +171,17 @@
- source: salt://roles/core/userland-software/files/new-partition.sh
- mode: 755
{% endif %}
+
+# -------------------------------------------------------------
+# Nano configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+nano_sls_support:
+ file.replace:
+ - name: {{ dirs.share }}/nano/yaml.nanorc
+ - pattern: {{ 'syntax yaml "\.ya?ml$"' | regex_escape }}
+ - repl: syntax yaml "\.(ya?ml|sls)$"
+
+{{ dirs.etc }}/nanorc:
+ nano.config_autogenerated:
+ - nanorc_dir: {{ dirs.share }}/nano
diff --git a/roles/shellserver/userland-software/base.sls b/roles/shellserver/userland-software/base.sls
--- a/roles/shellserver/userland-software/base.sls
+++ b/roles/shellserver/userland-software/base.sls
@@ -23,7 +23,6 @@
pkg.installed:
- pkgs:
- joe
- - nano
- vim
- emacs-nox
@@ -285,17 +284,3 @@
- gcal
- pdftk
- qpdf
-
-# -------------------------------------------------------------
-# Nano configuration
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-nano_sls_support:
- file.replace:
- - name: {{ dirs.share }}/nano/yaml.nanorc
- - pattern: {{ 'syntax yaml "\.ya?ml$"' | regex_escape }}
- - repl: syntax yaml "\.(ya?ml|sls)$"
-
-{{ dirs.etc }}/nanorc:
- nano.config_autogenerated:
- - nanorc_dir: {{ dirs.share }}/nano
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 10:49 (5 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2272878
Default Alt Text
D3052.id.diff (1 KB)
Attached To
Mode
D3052: Configure nano everywhere
Attached
Detach File
Event Timeline
Log In to Comment