Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28578526
account.sls
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
account.sls
View Options
# -------------------------------------------------------------
# Salt — Deploy Odderon (darkbot)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-24
# Description: Darkbot on Freenode
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
# -------------------------------------------------------------
# Service account
# -------------------------------------------------------------
odderon_account
:
user.present
:
-
name
:
odderon
-
fullname
:
Odderon
-
uid
:
830
-
gid
:
829
-
home
:
/opt/odderon
# -------------------------------------------------------------
# Sudo capabilities
#
# Members of nasqueron-irc should be able to sudo -u odderon …
# -------------------------------------------------------------
odderon_sudo_capabilities_file
:
file.managed
:
{%
if
grains
[
'os'
]
==
'FreeBSD'
%}
-
name
:
/usr/local/etc/sudoers.d/odderon
{%
else
%}
-
name
:
/etc/sudoers.d/odderon
{%
endif
%}
-
source
:
salt://roles/shellserver/odderon/files/odderon.sudoers
-
template
:
jinja
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 11:59 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3691501
Default Alt Text
account.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment