Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3783729
D1369.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1369.diff
View Options
diff --git a/roles/viperserv/account/init.sls b/roles/viperserv/account/init.sls
--- a/roles/viperserv/account/init.sls
+++ b/roles/viperserv/account/init.sls
@@ -21,7 +21,7 @@
- fullname: {{ user['fullname'] }}
- uid: {{ user['uid'] }}
- gid: nasqueron-irc
- - home: /var/run/{{ username }}
+ - home: {{ dirs.share }}/{{ username }}
/var/run/{{ username }}:
file.directory:
diff --git a/roles/viperserv/wikidata-access-layer/code.sls b/roles/viperserv/wikidata-access-layer/code.sls
--- a/roles/viperserv/wikidata-access-layer/code.sls
+++ b/roles/viperserv/wikidata-access-layer/code.sls
@@ -6,6 +6,8 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% from "map.jinja" import dirs with context %}
+
daeghrefn_wikidata_access_layer:
file.directory:
- name: /srv/wikidata-access-layer
@@ -15,13 +17,13 @@
- target: /srv/wikidata-access-layer
- user: deploy
-/var/run/viperserv/bin:
+{{ dirs.share }}/viperserv/bin:
file.directory:
- user: viperserv
- group: nasqueron-irc
{% for script in ['create_given_name', 'create_surname'] %}
-/var/run/viperserv/bin/{{ script }}:
+{{ dirs.share }}/viperserv/bin/{{ script }}:
file.symlink:
- target: /srv/wikidata-access-layer/{{ script }}
- user: viperserv
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 27, 04:17 (21 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265853
Default Alt Text
D1369.diff (1 KB)
Attached To
Mode
D1369: Use /usr/local/share/{tc2,viperserv} for viperserv accounts
Attached
Detach File
Event Timeline
Log In to Comment