|
|
|
|
|
|
|
|
{% set apt = pillar.get('apt:unattended', {}) -%} |
|
|
|
|
|
{% set allowed_origins = apt.get('allowed_origins', ['${distro_id}:${distro_codename}-security']) -%} |
|
|
|
|
|
{% set package_blacklist = apt.get('package_blacklist', {}) -%} |
|
|
|
|
|
{% set auto_fix_interrupted_dpkg = apt.get('auto_fix_interrupted_dpkg', 'true') -%} |
|
|
|
|
|
{% set minimal_steps = apt.get('minimal_steps', 'false') -%} |
|
|
|
|
|
{% set install_on_shutdown = apt.get('install_on_shutdown', 'false') -%} |
|
|
|
|
|
{% set mail = apt.get('mail', 'root') -%} |
|
|
|
|
|
{% set mail_only_on_error = apt.get('mail_only_on_error', 'false') -%} |
|
|
|
|
|
{% set remove_unused_dependencies = apt.get('remove_unused_dependencies', 'true') -%} |
|
|
|
|
|
{% set automatic_reboot = apt.get('automatic_reboot', 'false') -%} |
|
|
|
|
|
{% set automatic_reboot_time = apt.get('automatic_reboot_time', 'now') -%} |
|
|
|
|
|
{% set dl_limit = apt.get('dl_limit', '0') -%} |
|
|
|
|
|
|
|
|
{% set apt = pillar.get('apt', {}) -%} |
|
|
|
|
|
{% set unattended = apt.get('unattended', {}) -%} |
|
|
|
|
|
{% set allowed_origins = unattended.get('allowed_origins', ['${distro_id}:${distro_codename}-security']) -%} |
|
|
|
|
|
{% set package_blacklist = unattended.get('package_blacklist', {}) -%} |
|
|
|
|
|
{% set auto_fix_interrupted_dpkg = unattended.get('auto_fix_interrupted_dpkg', 'true') -%} |
|
|
|
|
|
{% set minimal_steps = unattended.get('minimal_steps', 'false') -%} |
|
|
|
|
|
{% set install_on_shutdown = unattended.get('install_on_shutdown', 'false') -%} |
|
|
|
|
|
{% set mail = unattended.get('mail', 'root') -%} |
|
|
|
|
|
{% set mail_only_on_error = unattended.get('mail_only_on_error', 'false') -%} |
|
|
|
|
|
{% set remove_unused_dependencies = unattended.get('remove_unused_dependencies', 'true') -%} |
|
|
|
|
|
{% set automatic_reboot = unattended.get('automatic_reboot', 'false') -%} |
|
|
|
|
|
{% set automatic_reboot_time = unattended.get('automatic_reboot_time', 'now') -%} |
|
|
|
|
|
{% set dl_limit = unattended.get('dl_limit', '0') -%} |
|
|
Unattended-Upgrade::Allowed-Origins { |
|
|
Unattended-Upgrade::Allowed-Origins { |
|
|
{%- for pattern in allowed_origins %} |
|
|
{%- for pattern in allowed_origins %} |
|
|
"{{ pattern }}"; |
|
|
"{{ pattern }}"; |