<commit_before>#
# Packages needed for a quattor client.
# RPMs are for Scientific Linux 
#

unique template quattor/client/rpms;

include { 'quattor/client/version' };

# Default version of packages in the selected OS
include { 'rpms/package_default_versions' };


'/software/packages' = {
    # OS-provided required packages

    # Quattor
    SELF[escape('ncm-spma')] = nlist();
    SELF[escape('cdp-listend')] = nlist();
    SELF[escape('ncm-cdispd')] = nlist();
    SELF[escape('ncm-ncd')] = nlist();
    SELF[escape('ncm-query')] = nlist();
      
    SELF;
};<commit_msg>Conditionally include spma package, not to replace existing (typically version locked) package<commit_after>#
# Packages needed for a quattor client.
# RPMs are for Scientific Linux 
#

unique template quattor/client/rpms;

include { 'quattor/client/version' };

# Default version of packages in the selected OS
include { 'rpms/package_default_versions' };


'/software/packages' = {
    # OS-provided required packages

    # Quattor
    SELF[escape('cdp-listend')] = nlist();
    SELF[escape('ncm-cdispd')] = nlist();
    SELF[escape('ncm-ncd')] = nlist();
    SELF[escape('ncm-query')] = nlist();

    # ideally, include components/spma/config with version locked rpm
    spma = escape('ncm-spma');
    if(! exists(spma)) {
        SELF[spma] = nlist();
    };
      
    SELF;
};
{'fraction_non_alphanumeric': 0.14768552534900808, 'fraction_numerical': 0.0, 'mean_word_length': 3.696551724137931, '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': '1744285', 'n_tokens_mistral': 495, 'n_tokens_neox': 466, 'n_words': 108}