#
# Setup samba for reversed option of sharing. This is optional.
#

install-smb-server:
  pkg.installed:
    - name: samba

/etc/samba/smb.conf:
  file.managed:
    - source: salt://samba/files/etc/samba/smb.conf
    - require:
      - pkg: install-smb-server

smbd:
  service.running:
    - enable: True
    - require:
      - pkg: install-smb-server
      - file: /etc/samba/smb.conf
    - watch:
      - file: /etc/samba/smb.conf

nmbd:
  service.running:
    - enable: True
    - require:
      - pkg: install-smb-server
      - file: /etc/samba/smb.conf
    - watch:
      - file: /etc/samba/smb.conf

#
# Setup samba for reversed option of sharing. This is optional.
#

install-smb-server:
  pkg.installed:
    - name: samba

/etc/samba/smb.conf:
  file.managed:
    - source: salt://samba/files/etc/samba/smb.conf
    - require:
      - pkg: install-smb-server

smbd:
  service.dead:
    - enable: False
    - require:
      - pkg: install-smb-server
      - file: /etc/samba/smb.conf
    - watch:
      - file: /etc/samba/smb.conf

nmbd:
  service.dead:
    - enable: False
    - require:
      - pkg: install-smb-server
      - file: /etc/samba/smb.conf
    - watch:
      - file: /etc/samba/smb.conf

Disable samba service by default
Disable samba service by default

It seems to have negative impact if it's running and at the same time
NVM is using shared filesystem with NFS.

spryker/devvm,spryker/devvm,spryker/devvm