<commit_before>{% set ENVIRONMENT = salt.grains.get('environment') %}
{% set minion_id = salt.grains.get('id', '') %}
{% set cert = salt.vault.cached_write('pki-intermediate-{}/issue/fluentd-client'.format(ENVIRONMENT), common_name='fluentd.{}.{}'.format(minion_id, ENVIRONMENT), ttl='280h', cache_prefix=minion_id) %}
{% set fluentd_cert_path = salt.sdb.get('sdb://yaml/fluentd:cert_path') %}
{% set fluentd_cert_key_path = salt.sdb.get('sdb://yaml/fluentd:cert_key_path') %}
{% set ca_cert_path = salt.sdb.get('sdb://yaml/fluentd:ca_cert_path') %}

fluentd:
  overrides:
    version: "1.11.5"
    user: root
    group: root
  pki:
    ca_chain:
      content: __vault__::secret-operations/global/pki/ca_chain>data>value
      path: '/usr/local/share/ca-certificates/ca_chain.crt'
  cert:<commit_msg>Update init.sls<commit_after>{% set ENVIRONMENT = salt.grains.get('environment') %}
{% set minion_id = salt.grains.get('id', '') %}
{% set cert = salt.vault.cached_write('pki-intermediate-{}/issue/fluentd-client'.format(ENVIRONMENT), common_name='fluentd.{}.{}'.format(minion_id, ENVIRONMENT), ttl='200h', cache_prefix=minion_id) %}
{% set fluentd_cert_path = salt.sdb.get('sdb://yaml/fluentd:cert_path') %}
{% set fluentd_cert_key_path = salt.sdb.get('sdb://yaml/fluentd:cert_key_path') %}
{% set ca_cert_path = salt.sdb.get('sdb://yaml/fluentd:ca_cert_path') %}

fluentd:
  overrides:
    version: "1.11.5"
    user: root
    group: root
  pki:
    ca_chain:
      content: __vault__::secret-operations/global/pki/ca_chain>data>value
      path: '/usr/local/share/ca-certificates/ca_chain.crt'
  cert:
{'fraction_non_alphanumeric': 0.18516209476309228, 'fraction_numerical': 0.008728179551122194, 'mean_word_length': 4.966542750929368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '82333', 'n_tokens_mistral': 669, 'n_tokens_neox': 640, 'n_words': 76}