Saltstack Official Apt Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

periodic_config.jinja 870B

1234567891011121314
  1. {% set apt = pillar.get('apt', {}) -%}
  2. {% set unattended = apt.get('unattended', {}) -%}
  3. {% set enabled = unattended.get('enabled', '1') -%}
  4. {% set update_package_lists = unattended.get('update_package_lists', '1') -%}
  5. {% set download_upgradeable_packages = unattended.get('download_upgradeable_packages', '1') -%}
  6. {% set unattended_upgrade = unattended.get('unattended_upgrade', '1') -%}
  7. {% set auto_clean_interval = unattended.get('auto_clean_interval', '7') -%}
  8. {% set verbose = unattended.get('verbose', '2') -%}
  9. APT::Periodic::Enable "{{ enabled }}";
  10. APT::Periodic::Update-Package-Lists "{{ update_package_lists }}";
  11. APT::Periodic::Download-Upgradeable-Packages "{{ download_upgradeable_packages }}";
  12. APT::Periodic::Unattended-Upgrade "{{ unattended_upgrade }}";
  13. APT::Periodic::AutocleanInterval "{{ auto_clean_interval }}";
  14. APT::Periodic::Verbose "{{ verbose }}";