|
|
|
|
|
|
|
|
{% set apt = pillar.get('apt', {}) -%} |
|
|
{% set apt = pillar.get('apt', {}) -%} |
|
|
{% set unattended = apt.get('unattended', {}) -%} |
|
|
{% set unattended = apt.get('unattended', {}) -%} |
|
|
{% set allowed_origins = unattended.get('allowed_origins', ['${distro_id}:${distro_codename}-security']) -%} |
|
|
{% set allowed_origins = unattended.get('allowed_origins', ['${distro_id}:${distro_codename}-security']) -%} |
|
|
|
|
|
{% set origins_patterns = unattended.get('origins_patterns', ['origin=Debian,archive=stable,label=Debian-Security']) -%} |
|
|
{% set package_blacklist = unattended.get('package_blacklist', {}) -%} |
|
|
{% set package_blacklist = unattended.get('package_blacklist', {}) -%} |
|
|
{% set auto_fix_interrupted_dpkg = unattended.get('auto_fix_interrupted_dpkg', 'true') -%} |
|
|
{% set auto_fix_interrupted_dpkg = unattended.get('auto_fix_interrupted_dpkg', 'true') -%} |
|
|
{% set minimal_steps = unattended.get('minimal_steps', 'false') -%} |
|
|
{% set minimal_steps = unattended.get('minimal_steps', 'false') -%} |
|
|
|
|
|
|
|
|
"{{ pattern }}"; |
|
|
"{{ pattern }}"; |
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
}; |
|
|
}; |
|
|
|
|
|
Unattended-Upgrade::Origins-Pattern { |
|
|
|
|
|
{%- for pattern in origins_patterns %} |
|
|
|
|
|
"{{ pattern }}"; |
|
|
|
|
|
{%- endfor %} |
|
|
|
|
|
} |
|
|
Unattended-Upgrade::Package-Blacklist { |
|
|
Unattended-Upgrade::Package-Blacklist { |
|
|
{%- for package in package_blacklist %} |
|
|
{%- for package in package_blacklist %} |
|
|
"{{ package }}"; |
|
|
"{{ package }}"; |