/opt/support/lib
NameSizeModeActions
__pycache__/-0755rm
arg_types.py36420755editdlrm
firewall_tools.py56720755editdlrm
output.py12080755editdlrm
run_cmd.py4950755editdlrm
server.py3270755editdlrm
__init__.py00755editdlrm
Edit: /opt/support/lib/server.py (327B)
from pathlib import Path try: ROLE = Path('/etc/server.role').read_text(encoding='ascii').rstrip() except FileNotFoundError: ROLE = '' if ROLE == 'shared:hub': MAIN_RESELLER = 'hubhost' elif ROLE.startswith('shared:'): MAIN_RESELLER = 'inmotion' else: # not a salt minion MAIN_RESELLER = 'root' # v/ded