Page MenuHomeDevCentral

D2410.id6058.diff
No OneTemporary

D2410.id6058.diff

diff --git a/pillar/core/users.sls b/pillar/core/users.sls
--- a/pillar/core/users.sls
+++ b/pillar/core/users.sls
@@ -117,6 +117,7 @@
devserver_tasks:
- deploy_dotfiles
- deploy_nanotab
+ - install_diesel
uid: 5001
erol:
diff --git a/roles/devserver/userland-home/homefiles.sls b/roles/devserver/userland-home/homefiles.sls
--- a/roles/devserver/userland-home/homefiles.sls
+++ b/roles/devserver/userland-home/homefiles.sls
@@ -37,4 +37,12 @@
- unset tabstospaces
{% endif %}
+{% if 'install_diesel' in tasks %}
+devserver_diesel_{{username}}:
+ cmd.run:
+ - name: cargo install diesel_cli --no-default-features --features postgres,sqlite
+ - runas: {{username}}
+ - creates: /home/{{username}}/.cargo/bin/diesel
+{% endif %}
+
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:11 (16 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2309341
Default Alt Text
D2410.id6058.diff (798 B)

Event Timeline