<commit_before>/tmp/consul/:
  archive.extracted:
    - source: https://releases.hashicorp.com/consul/0.7.0/consul_0.7.0_linux_amd64.zip
    - source_hash: sha256=b350591af10d7d23514ebaa0565638539900cdb3aaa048f077217c4c46653dd8
    - archive_format: zip

/opt/consul/bin/consul:
  file.managed:
    - source: /tmp/consul/consul
    - user: consul
    - group: consul
    - mode: 750

/opt/consul/bin/firewall:
  file.managed:
    - source: /tmp/config/firewall
    - user: consul
    - group: consul
    - mode: 750

{% for file in "consul", "firewall" %}
/usr/bin/{{file}}:
  file.symlink:
    - target: /opt/consul/bin/{{file}}
    - user: consul
    - group: consul
    - mode: 750
{% endfor %}<commit_msg>Upgrade Consul to 0.7.1<commit_after>/tmp/consul/:
  archive.extracted:
    - source: https://releases.hashicorp.com/consul/0.7.1/consul_0.7.1_linux_amd64.zip
    - source_hash: sha256=5dbfc555352bded8a39c7a8bf28b5d7cf47dec493bc0496e21603c84dfe41b4b
    - archive_format: zip

/opt/consul/bin/consul:
  file.managed:
    - source: /tmp/consul/consul
    - user: consul
    - group: consul
    - mode: 750

/opt/consul/bin/firewall:
  file.managed:
    - source: /tmp/config/firewall
    - user: consul
    - group: consul
    - mode: 750

{% for file in "consul", "firewall" %}
/usr/bin/{{file}}:
  file.symlink:
    - target: /opt/consul/bin/{{file}}
    - user: consul
    - group: consul
    - mode: 750
{% endfor %}
{'fraction_non_alphanumeric': 0.14705882352941177, 'fraction_numerical': 0.08543417366946779, 'mean_word_length': 2.7408376963350785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7300965', 'n_tokens_mistral': 666, 'n_tokens_neox': 589, 'n_words': 91}