Skip to content

Commit

Permalink
Simplify ssh state matching
Browse files Browse the repository at this point in the history
  • Loading branch information
MTecknology committed May 6, 2023
1 parent f948d1d commit bd74906
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions states/top.sls
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ base:
- sudo
- users

# Server
'* and not *pc*':
- match: compound
- ssh

# Laptop w/ Gnome3
'*pc*':
- desktop.cinnamon
Expand All @@ -33,21 +38,9 @@ base:
- user_policies
- signal

'mikepc*':
- extras.mikepc

# Test Systems
'test*':
- ssh

# Dev Systems
'dev*':
- ssh

# TODO: Temporary relocation
'media*':
- ssh
'irc*':
- ssh
- irssi
- webapps

'mikepc*':
- extras.mikepc

0 comments on commit bd74906

Please sign in to comment.