<commit_before>
from kokki import *

Package("munin")

File("/etc/munin/munin.conf",
    owner = "root",
    group = "root",
    mode = 0644,
    content = Template("munin/munin.conf.j2"))<commit_msg>Make sure the munin dir exists and is owned by the right user<commit_after>
from kokki import *

Package("munin")

Directory(env.config.munin.dbdir,
    owner = "munin",
    group = "munin",
    mode = 0755)

File("/etc/munin/munin.conf",
    owner = "root",
    group = "root",
    mode = 0644,
    content = Template("munin/munin.conf.j2"))
{'fraction_non_alphanumeric': 0.15682656826568267, 'fraction_numerical': 0.025830258302583026, 'mean_word_length': 3.344, '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': '512013', 'n_tokens_mistral': 209, 'n_tokens_neox': 198, 'n_words': 46}