<commit_before>
###############################################################################
#

# Import properties.
{% set properties_path = profile_root.replace('.', '/') + '/properties.yaml' %}
{% import_yaml properties_path as props %}

{% set project_name = props['project_name'] %}

# TODO: Move PostgreSQL installation into `common`.

system_features:

    # Configuration for PostgreSQL database.
    postgresql_environment_setup:

        # Force re-initialization of PostgreSQL database:
        force_posgresql_database_reinitialization: True

        # PostgreSQL installation directory.
        postgresql_dir: '/usr/pgsql-9.3'

        # PostgreSQL original service name.
        postgresql_orig_service_name: 'postgresql-9.3'

        # PostgreSQL service name for project_name server.
        # TODO: Use generic name for the key `postgresql_service_name`
        #       instead of embedding project name into the key.
        postgresql_project_name_service_name: 'postgresql-{{ project_name }}'

        # PostgreSQL database directory with data files.
        # Default is `/var/lib/pgsql/9.3/data`.
        # NOTE: Do not set it here.
        #       It is computed based on `project_name_version_*` and other
        #       parameters within state itself.
        postgresql_data_directory: ~

###############################################################################
# EOF
###############################################################################
<commit_msg>Unify pillar key name for postgresql DB<commit_after>
###############################################################################
#

# Import properties.
{% set properties_path = profile_root.replace('.', '/') + '/properties.yaml' %}
{% import_yaml properties_path as props %}

{% set project_name = props['project_name'] %}

# TODO: Move PostgreSQL installation into `common`.

system_features:

    # Configuration for PostgreSQL database.
    postgresql_environment_setup:

        # Force re-initialization of PostgreSQL database:
        force_posgresql_database_reinitialization: True

        # PostgreSQL installation directory.
        postgresql_dir: '/usr/pgsql-9.3'

        # PostgreSQL original service name.
        postgresql_orig_service_name: 'postgresql-9.3'

        # PostgreSQL service name for project_name server.
        postgresql_service_name: 'postgresql-{{ project_name }}'

        # PostgreSQL database directory with data files.
        # Default is `/var/lib/pgsql/9.3/data`.
        # NOTE: Do not set it here.
        #       It is computed based on `project_name_version_*` and other
        #       parameters within state itself.
        postgresql_data_directory: ~

###############################################################################
# EOF
###############################################################################

{'fraction_non_alphanumeric': 0.23799582463465555, 'fraction_numerical': 0.0041753653444676405, 'mean_word_length': 3.682410423452769, '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': '7489021', 'n_tokens_mistral': 754, 'n_tokens_neox': 716, 'n_words': 186}