<commit_before># Ramadda server
---
classes:
    - tomcat
    - ramadda
    - ramadda::ldap
    - postgresql::server

# Ramadda parameters
ramadda::ldap::url: '%{hiera("ldap::url")}'
ramadda::ldap::user_directory: 'uid=${id},ou=People,%{hiera("ldap::dc")}'
ramadda::ldap::group_directory: 'ou=Group,%{hiera("ldap::dc")}'
ramadda::ldap::admin_group: 'fe2_2'

ramadda::home: '%{hiera("persistent::dir")}/ramadda'
ramadda::postgres_password: '<PASSWORD>'

# Data to be mounted
gdata-mounts:
    - ua8

persistent::paths:
    ramadda: {}

proxy:
    '/repository':
        proxy: 'http://localhost:8080/repository'
        vhost: '%{::fqdn} ssl'
        ssl: true
        ssl_only: true
        location_cfg_append:
            proxy_set_header Host: '$host'
            proxy_set_header X-Real-IP: '$remote_addr'
            proxy_set_header X-Forwarded-For: '$proxy_add_x_forwarded_for'
            proxy_redirect: 'http:// https://'<commit_msg>Fix group attribute<commit_after># Ramadda server
---
classes:
    - tomcat
    - ramadda
    - ramadda::ldap
    - postgresql::server

# Ramadda parameters
ramadda::ldap::url: '%{hiera("ldap::url")}'
ramadda::ldap::user_directory: 'uid=${id},ou=People,%{hiera("ldap::dc")}'
ramadda::ldap::group_directory: 'ou=Group,%{hiera("ldap::dc")}'
ramadda::ldap::group_attribute: 'memberUid'
ramadda::ldap::admin_group: 'fe2_2'

ramadda::home: '%{hiera("persistent::dir")}/ramadda'
ramadda::postgres_password: '<PASSWORD>'

# Data to be mounted
gdata-mounts:
    - ua8

persistent::paths:
    ramadda: {}

proxy:
    '/repository':
        proxy: 'http://localhost:8080/repository'
        vhost: '%{::fqdn} ssl'
        ssl: true
        ssl_only: true
        location_cfg_append:
            proxy_set_header Host: '$host'
            proxy_set_header X-Real-IP: '$remote_addr'
            proxy_set_header X-Forwarded-For: '$proxy_add_x_forwarded_for'
            proxy_redirect: 'http:// https://'
{'fraction_non_alphanumeric': 0.1709710743801653, 'fraction_numerical': 0.007231404958677686, 'mean_word_length': 3.6674698795180722, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6779035', 'n_tokens_mistral': 726, 'n_tokens_neox': 711, 'n_words': 111}