|
|
|
|
|
|
|
|
{% set automatic_reboot = unattended.get('automatic_reboot', 'false') -%} |
|
|
{% set automatic_reboot = unattended.get('automatic_reboot', 'false') -%} |
|
|
{% set automatic_reboot_time = unattended.get('automatic_reboot_time', 'now') -%} |
|
|
{% set automatic_reboot_time = unattended.get('automatic_reboot_time', 'now') -%} |
|
|
{% set dl_limit = unattended.get('dl_limit', '0') -%} |
|
|
{% set dl_limit = unattended.get('dl_limit', '0') -%} |
|
|
|
|
|
{%- if salt['grains.get']('os') != 'Debian' -%} |
|
|
Unattended-Upgrade::Allowed-Origins { |
|
|
Unattended-Upgrade::Allowed-Origins { |
|
|
{%- for pattern in allowed_origins %} |
|
|
{%- for pattern in allowed_origins %} |
|
|
"{{ pattern }}"; |
|
|
"{{ pattern }}"; |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
}; |
|
|
}; |
|
|
|
|
|
{%- endif %} |
|
|
Unattended-Upgrade::Origins-Pattern { |
|
|
Unattended-Upgrade::Origins-Pattern { |
|
|
{%- for pattern in origins_patterns %} |
|
|
{%- for pattern in origins_patterns %} |
|
|
"{{ pattern }}"; |
|
|
"{{ pattern }}"; |