<commit_before>#!/bin/bash
# https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
if test ! -e bootstrap_salt.sh; then
    echo "Installing SaltStack"
    curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh
    sh bootstrap_salt.sh
else
    echo "SaltStack already installed"
fi<commit_msg>configure Salt minion to run masterless<commit_after>#!/bin/bash
# https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
if test ! -e bootstrap_salt.sh; then
    echo "Installing SaltStack"
    curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh
    sh bootstrap_salt.sh
else
    echo "SaltStack already installed"
fi

# Masterless Salt https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
cat <<EOF > /etc/salt/minion
file_client: local
EOF

{'fraction_non_alphanumeric': 0.11375, 'fraction_numerical': 0.0, 'mean_word_length': 4.134615384615385, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 5, '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': '1635855', 'n_tokens_mistral': 290, 'n_tokens_neox': 262, 'n_words': 59}