Saltstack Official Apt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

15 rindas
870B

  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 }}";