<commit_before>/tmp/influx/:
  archive.extracted:
    - source: https://dl.influxdata.com/influxdb/releases/influxdb-1.0.2_linux_amd64.tar.gz
    - source_hash: sha256=269922c1341ae1d12013b2491ecb5503127833ffa1349729b842c75ca9916072
    - archive_format: tar

{% for file in
  "influx",
  "influx_inspect",
  "influx_stress",
  "influx_tsm",
  "influxd"
%}
/opt/influx/bin/{{file}}:
  file.managed:
    - source: /tmp/influx/influxdb-1.0.2-1/usr/bin/{{file}}
    - user: influx
    - group: influx
    - mode: 750

/usr/bin/{{file}}:
  file.symlink:
    - target: /opt/influx/bin/{{file}}
    - user: influx
    - group: influx
    - mode: 750
{% endfor %}
<commit_msg>Upgrade InfluxDB to 1.1.1<commit_after>/tmp/influx/:
  archive.extracted:
    - source: https://dl.influxdata.com/influxdb/releases/influxdb-1.1.1_linux_amd64.tar.gz
    - source_hash: sha256=fe6094788d6c33461e274527639fdf13013d4122a4f194285f2e3b86495385cc
    - archive_format: tar

{% for file in
  "influx",
  "influx_inspect",
  "influx_stress",
  "influx_tsm",
  "influxd"
%}
/opt/influx/bin/{{file}}:
  file.managed:
    - source: /tmp/influx/influxdb-1.1.1-1/usr/bin/{{file}}
    - user: influx
    - group: influx
    - mode: 750

/usr/bin/{{file}}:
  file.symlink:
    - target: /opt/influx/bin/{{file}}
    - user: influx
    - group: influx
    - mode: 750
{% endfor %}

{'fraction_non_alphanumeric': 0.16444444444444445, 'fraction_numerical': 0.10074074074074074, 'mean_word_length': 3.0449101796407185, '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': '1538397', 'n_tokens_mistral': 672, 'n_tokens_neox': 580, 'n_words': 77}