{%- set os=grains['os'] -%}


plex-media-server-plexpass:
  pkg.installed

plexmediaserver:
  service.running:
    - enable: true

/etc/conf.d/plexmediaserver:
  file.managed:
    - source: salt://roles/maintain/plexmediaserver/plexmediaserver
    - user: root
    - group: root
    - mode: 644

mount:
  group.present:
    - gid: 503
    - addusers:
      - plex