Page MenuHomeDevCentral

D2410.diff
No OneTemporary

D2410.diff

diff --git a/pillar/core/users.sls b/pillar/core/users.sls
--- a/pillar/core/users.sls
+++ b/pillar/core/users.sls
@@ -118,6 +118,7 @@
- deploy_dotfiles
- deploy_nanotab
- install_rustup
+ - 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
@@ -56,4 +56,12 @@
{% endfor %}
{% endif %}
+{% if 'install_diesel' in tasks %}
+devserver_diesel_{{username}}:
+ cmd.run:
+ - name: /home/{{username}}/.cargo/bin/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, 04:10 (18 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308898
Default Alt Text
D2410.diff (816 B)

Event Timeline