Page MenuHomeDevCentral

D2142.id5401.diff
No OneTemporary

D2142.id5401.diff

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
@@ -21,6 +21,21 @@
- source: salt://roles/core/userland-software/files/nasqueron.repo
{% endif %}
+{% if grains['kernel'] == 'Linux' %}
+snapd:
+ pkg.installed
+{% endif %}
+
+{% if grains['osfamily'] == 'RedHat' or grains['os'] == 'Arch' %}
+snap_enable:
+ service.enabled:
+ - name: snapd.socket
+
+/snap:
+ file.symlink:
+ - target: /var/lib/snapd/snap
+{% endif %}
+
# -------------------------------------------------------------
# Shells
# -------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 13:35 (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252520
Default Alt Text
D2142.id5401.diff (714 B)

Event Timeline