<commit_before>{% set postgresql = salt["pillar.get"]("postgresql", {}) %}
{% set wale = salt["pillar.get"]("wal-e", {}) %}

{% if wale %}
wal-e-dependencies:
  pkg.installed:
    - pkgs:
      - daemontools
      - lzop
      - pv
      - python-gevent
      - python-boto
      - python-swiftclient
      - python-keystoneclient

wal-e:
  pkg.installed:
    - sources:
      - python-wal-e: salt://postgresql/server/packages/python-wal-e_0.7.2-2_all.deb
    - require:
      - pkg: wal-e-dependencies
<commit_msg>Install python-wal-e<commit_after>{% set postgresql = salt["pillar.get"]("postgresql", {}) %}
{% set wale = salt["pillar.get"]("wal-e", {}) %}

{% if wale %}
wal-e-dependencies:
  pkg.installed:
    - pkgs:
      - daemontools
      - lzop
      - pv


python-wal-e:
  pkg.installed:
    - require:
      - pkg: wal-e-dependencies

{'fraction_non_alphanumeric': 0.18085106382978725, 'fraction_numerical': 0.004728132387706856, 'mean_word_length': 2.3346456692913384, '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': '1861241', 'n_tokens_mistral': 350, 'n_tokens_neox': 325, 'n_words': 48}