{% set apt = pillar.get('apt:unattended', {}) -%} {% set enabled = apt.get('enabled', '1') -%} {% set update_package_lists = apt.get('update_package_lists', '1') -%} {% set download_upgradeable_packages = apt.get('download_upgradeable_packages', '1') -%} {% set unattended_upgrade = apt.get('unattended_upgrade', '1') -%} {% set auto_clean_interval = apt.get('auto_clean_interval', '7') -%} {% set verbose = apt.get('verbose', '2') -%} APT::Periodic::Enable "{{ enabled }}"; APT::Periodic::Update-Package-Lists "{{ update_package_lists }}"; APT::Periodic::Download-Upgradeable-Packages "{{ download_upgradeable_packages }}"; APT::Periodic::Unattended-Upgrade "{{ unattended_upgrade }}"; APT::Periodic::AutocleanInterval "{{ auto_clean_interval }}"; APT::Periodic::Verbose "{{ verbose }}";