<commit_before>/etc/consul.d/ssl/ca.key:
  x509.private_key_managed:
    - bits: 4096

/etc/consul.d/ssl/ca.cert:
  x509.certificate_managed:
    - signing_private_key: /etc/consul.d/ssl/ca.key
    - basicConstraints: CA:true
    - days_valid: 3650
    - days_remaining: 0

/etc/consul.d/ssl/consul.key:
  x509.private_key_managed:
    - bits: 4096

/etc/consul.d/ssl/consul.cert:
  x509.certificate_managed:
    - signing_private_key: /etc/consul.d/ssl/ca.key
    - signing_cert: /etc/consul.d/ssl/ca.cert
    - public_key: /etc/consul.d/ssl/consul.key
    - subjectKeyIdentifier: hash
    - extendedKeyUsage: serverAuth,clientAuth
    - CN: "*.consul"
    - days_valid: 3650
    - days_remaining: 0

certificate permissions:
  file.directory:
    - name: /etc/consul.d/ssl/
    - user: consul
    - group: consul
    - file_mode: 660
    - recurse:
      - user
      - group
      - file_mode<commit_msg>Fix typo in consul config<commit_after>/etc/consul.d/ssl/ca.key:
  x509.private_key_managed:
    - bits: 4096

/etc/consul.d/ssl/ca.cert:
  x509.certificate_managed:
    - signing_private_key: /etc/consul.d/ssl/ca.key
    - basicConstraints: CA:true
    - days_valid: 3650
    - days_remaining: 0

/etc/consul.d/ssl/consul.key:
  x509.private_key_managed:
    - bits: 4096

/etc/consul.d/ssl/consul.cert:
  x509.certificate_managed:
    - signing_private_key: /etc/consul.d/ssl/ca.key
    - signing_cert: /etc/consul.d/ssl/ca.cert
    - public_key: /etc/consul.d/ssl/consul.key
    - subjectKeyIdentifier: hash
    - extendedKeyUsage: serverAuth,clientAuth
    - CN: "*.consul"
    - days_valid: 3650
    - days_remaining: 0

certificate permissions:
  file.directory:
    - name: /etc/consul.d/ssl/
    - user: consul
    - group: consul
    - file_mode: 660
    - recurse:
      - user
      - group
      - mode
{'fraction_non_alphanumeric': 0.12959912136188906, 'fraction_numerical': 0.036243822075782535, 'mean_word_length': 2.4573055028463, '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': '6065495', 'n_tokens_mistral': 769, 'n_tokens_neox': 716, 'n_words': 105}