<commit_before>niceties:
  pkg.installed:
    - pkgs:
      - htop
      - traceroute

time-sync:
  pkg.installed:
    - pkgs:
      - ntp
      - ntpdate

ntp:
  service:
    - running
    - enable: True 
<commit_msg>Ensure the root user has a sane $PATH in the cron<commit_after>niceties:
  pkg.installed:
    - pkgs:
      - htop
      - traceroute

time-sync:
  pkg.installed:
    - pkgs:
      - ntp
      - ntpdate

ntp:
  service:
    - running
    - enable: True


# Cron has a default $PATH of only /usr/bin:/bin, however the root user's
# default $PATH in the shell includes various sbin directories. This can cause
# scripts to succeed in the shell but fail when run from cron. This bit of
# sanity will ensure consistent default $PATH for the root user.
root-cron-path:
  cron.env_present:
    - name: PATH
    - user: root
    - value: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

{'fraction_non_alphanumeric': 0.10197368421052631, 'fraction_numerical': 0.0, 'mean_word_length': 2.2607142857142857, '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': '6677971', 'n_tokens_mistral': 343, 'n_tokens_neox': 312, 'n_words': 97}