Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12870720
tomcat.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
606 B
Referenced Files
None
Subscribers
None
tomcat.py
View Options
# -------------------------------------------------------------
# Salt — Tomcat execution module
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
# -------------------------------------------------------------
# Tomcat users and roles
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def
extract_roles_from_users
(
users
):
return
set
(
role
for
_
,
args
in
users
.
items
()
if
"roles"
in
args
for
role
in
args
[
"roles"
]
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Mon, Nov 17, 15:52 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3116478
Default Alt Text
tomcat.py (606 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment