<commit_before>selinux-tools-install:
  pkg.installed:
    - name: selinux-utils


selinux-enable:
  selinux.mode:
    - name: enforcing
    - require:
      - pkg: selinux-tools-install
<commit_msg>Stop attemting to enable selinux as the kernel does not allow it.<commit_after>selinux-tools-install:
  pkg.installed:
    - pkgs:
        - auditd
        - selinux-utils
        - selinux-basics
        - selinux-policy-default


# SELinux is not supported by the default raspbian kernel ...
#selinux-enable:
#  cmd.run:
#    - name:   selinux-activate
#    - onlyif: sestatus
#    - require:
#      - pkg: selinux-tools-install

{'fraction_non_alphanumeric': 0.10634920634920635, 'fraction_numerical': 0.0, 'mean_word_length': 2.39247311827957, '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': '7298668', 'n_tokens_mistral': 234, 'n_tokens_neox': 208, 'n_words': 47}