<commit_before>install-ntpd:
  pkg:
    - installed
    - pkgs:
      - ntp
      - ntpdate
      - ntp-doc

sync-ntpd:
  cmd.run:
    - name: 'ntpdate 0.centos.pool.ntp.org 1.centos.pool.ntp.org 2.centos.pool.ntp.org 3.centos.pool.ntp.org'
    - unless: 'service ntpd status'
    - require:
      - pkg: install-ntpd

start-ntpd:
  service:
    - running
    - name: ntpd
    - enable: true<commit_msg>Fixed ntp daemon name on ubuntu<commit_after>{% if grains['os_family'] == 'Debian' %}
    {% set ntp_name = 'ntp' %}
{% else %}
    {% set ntp_name = 'ntpd' %}
{% endif %}

install-ntpd:
  pkg:
    - installed
    - pkgs:
      - ntp
      - ntpdate
      - ntp-doc

sync-ntpd:
  cmd.run:
    - name: 'ntpdate 0.centos.pool.ntp.org 1.centos.pool.ntp.org 2.centos.pool.ntp.org 3.centos.pool.ntp.org'
    - unless: 'service {{ ntp_name }} status'
    - require:
      - pkg: install-ntpd

start-ntpd:
  service:
    - running
    - name: {{ ntp_name }}
    - enable: true
{'fraction_non_alphanumeric': 0.15432098765432098, 'fraction_numerical': 0.00823045267489712, 'mean_word_length': 2.050156739811912, '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': '6986505', 'n_tokens_mistral': 428, 'n_tokens_neox': 399, 'n_words': 74}