Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3914397
D1069.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
D1069.diff
View Options
diff --git a/roles/shellserver/odderon/config.sls b/roles/shellserver/odderon/config.sls
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/odderon/config.sls
@@ -0,0 +1,18 @@
+# -------------------------------------------------------------
+# Salt — Deploy Odderon unit (darkbot)
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-10-19
+# Description: Darkbot unit (Freenode)
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+# -------------------------------------------------------------
+# File permissions and ownership
+# -------------------------------------------------------------
+
+odderon_fix_permissions_and_ownership:
+ cmd.run:
+ - names:
+ - chown odderon:nasqueron-irc /opt/odderon/var/darkbot/userlist.db
+ - chmod 640 /opt/odderon/var/darkbot/userlist.db
diff --git a/roles/shellserver/odderon/init.sls b/roles/shellserver/odderon/init.sls
--- a/roles/shellserver/odderon/init.sls
+++ b/roles/shellserver/odderon/init.sls
@@ -9,4 +9,5 @@
include:
- .account
- .code
+ - .config
- .service
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 14:37 (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2308175
Default Alt Text
D1069.diff (1 KB)
Attached To
Mode
D1069: Ensure userlist isn't world-readable
Attached
Detach File
Event Timeline
Log In to Comment