<commit_before>// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
<% scope['unattended_upgrades::repos'].each do |repo, opts| -%>
        "origin=${distro_id},archive=<%= repo %><% if (defined? opts) %>,label=<%= opts['label'] %><% end %>";
<% end %>
}; 

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
<% scope['unattended_upgrades::blacklist'].each do |package| -%>
        "<%= package %>";
<% end -%>
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
Unattended-Upgrade::AutoFixInterruptedDpkg "<%= scope['unattended_upgrades::autofix'] %>";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "<%= scope['unattended_upgrades::minimal_steps'] %>";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
Unattended-Upgrade::InstallOnShutdown "<%= scope['unattended_upgrades::on_shutdown'] %>";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you<commit_msg>Add support for overriding origins<commit_after>// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
<% scope['unattended_upgrades::repos'].each do |repo, opts| -%>
        "origin=<% if (defined? opts and opts['origin'] and opts['origin'] != '') %><%= opts['origin'] %><% else %>${distro_id}<% end %>,archive=<%= repo %><% if (defined? opts) %>,label=<%= opts['label'] %><% end %>";
<% end %>
}; 

// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
<% scope['unattended_upgrades::blacklist'].each do |package| -%>
        "<%= package %>";
<% end -%>
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
Unattended-Upgrade::AutoFixInterruptedDpkg "<%= scope['unattended_upgrades::autofix'] %>";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "<%= scope['unattended_upgrades::minimal_steps'] %>";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
Unattended-Upgrade::InstallOnShutdown "<%= scope['unattended_upgrades::on_shutdown'] %>";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
{'fraction_non_alphanumeric': 0.1330834114339269, 'fraction_numerical': 0.0006248047485160887, 'mean_word_length': 4.64726631393298, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5505386', 'n_tokens_mistral': 948, 'n_tokens_neox': 907, 'n_words': 337}