<commit_before>#
# Tools and settings for local file sharing discovery on Mac
#

install-avahi:
  pkg.installed:
    - name: avahi-daemon

/etc/avahi/avahi-daemon.conf:
  file.managed:
    - source: salt://avahi/files/etc/avahi/avahi-daemon.conf
    - require:
      - pkg: install-avahi

/etc/avahi/services/smb.conf:
  file.managed:
    - source: salt://avahi/files/etc/avahi/services/smb.conf
    - require:
      - pkg: install-avahi

avahi-daemon:
  service.running:
    - enable: True
    - require:
      - pkg: install-avahi
    - watch:
      - file: /etc/avahi/avahi-daemon.conf
      - file: /etc/avahi/services/smb.conf<commit_msg>Fix avahi service file name<commit_after>#
# Tools and settings for local file sharing discovery on Mac
#

install-avahi:
  pkg.installed:
    - name: avahi-daemon

/etc/avahi/avahi-daemon.conf:
  file.managed:
    - source: salt://avahi/files/etc/avahi/avahi-daemon.conf
    - require:
      - pkg: install-avahi

/etc/avahi/services/smb.service:
  file.managed:
    - source: salt://avahi/files/etc/avahi/services/smb.service
    - require:
      - pkg: install-avahi

avahi-daemon:
  service.running:
    - enable: True
    - require:
      - pkg: install-avahi
    - watch:
      - file: /etc/avahi/avahi-daemon.conf
      - file: /etc/avahi/services/smb.service
{'fraction_non_alphanumeric': 0.13445378151260504, 'fraction_numerical': 0.0, 'mean_word_length': 2.438320209973753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6512323', 'n_tokens_mistral': 527, 'n_tokens_neox': 481, 'n_words': 85}