init.sls 371 B

123456789101112131415
  1. #
  2. # Unattended Upgrades
  3. #
  4. unattended-upgrades:
  5. pkg.installed:
  6. - name: unattended-upgrades
  7. /etc/apt/apt.conf.d/20auto-upgrades:
  8. file.managed:
  9. - source: salt://unattended-upgrades/20auto-upgrades
  10. /etc/apt/apt.conf.d/50unattended-upgrades:
  11. file.managed:
  12. - source: salt://unattended-upgrades/50unattended-upgrades.{{ grains.os }}.{{ grains.oscodename }}