Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3743926
D979.id2502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
897 B
Referenced Files
None
Subscribers
None
D979.id2502.diff
View Options
diff --git a/roles/shellserver/odderon/account.sls b/roles/shellserver/odderon/account.sls
--- a/roles/shellserver/odderon/account.sls
+++ b/roles/shellserver/odderon/account.sls
@@ -7,6 +7,8 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
+{% from "map.jinja" import dirs with context %}
+
# -------------------------------------------------------------
# Service account
# -------------------------------------------------------------
@@ -27,10 +29,6 @@
odderon_sudo_capabilities_file:
file.managed:
- {% if grains['os'] == 'FreeBSD' %}
- - name: /usr/local/etc/sudoers.d/odderon
- {% else %}
- - name: /etc/sudoers.d/odderon
- {% endif %}
+ - name: {{ dirs.etc }}/sudoers.d/odderon
- source: salt://roles/shellserver/odderon/files/odderon.sudoers
- template: jinja
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 01:46 (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246848
Default Alt Text
D979.id2502.diff (897 B)
Attached To
Mode
D979: Make Odderon account unit compatible with FreeBSD
Attached
Detach File
Event Timeline
Log In to Comment