pass_typer: Match cms-wall-display* and iPad* for CMS ipads

This commit is contained in:
Adam Goldsmith 2022-12-15 18:48:34 -05:00
parent 125ba9244c
commit 6fb8597973
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def alias(server_name):
match server_name.rpartition("@"):
case [user, at, ("salt" | "salt.sawtooth.claremontmakerspace.org")]:
return f"cms/{user}{at}cms-net-svcs"
case [user, at, ("iPad1" | "iPad2" | "iPad3")]:
case [user, at, host] if host.lower().startswith("cms-wall-display") or host.startswith("iPad"):
return f"cms/{user}{at}ipads"
case [user, at, ("octopi-taz-6" | "octopi-lulzbot-mini")]:
return f"cms/{user}{at}octopi"