Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3919189
D2410.id6133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
828 B
Referenced Files
None
Subscribers
None
D2410.id6133.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
@@ -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: /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, 10:06 (17 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2309338
Default Alt Text
D2410.id6133.diff (828 B)
Attached To
Mode
D2410: Install Diesel on devserver
Attached
Detach File
Event Timeline
Log In to Comment