Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3917488
D2410.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
816 B
Referenced Files
None
Subscribers
None
D2410.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2410: Install Diesel on devserver
Attached
Detach File
Event Timeline
Log In to Comment