<commit_before># Minimal configuration for `salt_minion_role` role (Salt minion).

{% if 'salt_minion_role' in pillar['system_host_roles'] %}

{% if grains['id'] in pillar['system_host_roles']['salt_minion_role']['assigned_hosts'] %}

include:

    {% set hostname_res = pillar['system_features']['hostname_resolution_config'] %}

    {% if hostname_res['hostname_resolution_type'] == 'static_hosts_file' %}

    # Generate hosts files on minions.
    - common.hosts_file

    {% endif %}

{% endif %}

{% endif %}
<commit_msg>Add common.hostname to minimal salt minion setup<commit_after># Minimal configuration for `salt_minion_role` role (Salt minion).

{% if 'salt_minion_role' in pillar['system_host_roles'] %}

{% if grains['id'] in pillar['system_host_roles']['salt_minion_role']['assigned_hosts'] %}

include:

    {% set hostname_res = pillar['system_features']['hostname_resolution_config'] %}

    {% if hostname_res['hostname_resolution_type'] == 'static_hosts_file' %}

    # Generate hosts files on minions.
    - common.hosts_file

    {% endif %}

    - common.hostname

{% endif %}

{% endif %}

{'fraction_non_alphanumeric': 0.14838129496402877, 'fraction_numerical': 0.0, 'mean_word_length': 5.081967213114754, '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': '2141109', 'n_tokens_mistral': 415, 'n_tokens_neox': 351, 'n_words': 71}