mirror of https://github.com/k3s-io/k3s
parent
fca05982fc
commit
8100c063b8
|
@ -0,0 +1,4 @@
|
||||||
|
APT::Periodic::Update-Package-Lists "1";
|
||||||
|
APT::Periodic::Unattended-Upgrade "1";
|
||||||
|
|
||||||
|
APT::Periodic::AutocleanInterval "7";
|
|
@ -0,0 +1,13 @@
|
||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
|
unattended-upgrades:
|
||||||
|
pkg.installed
|
||||||
|
|
||||||
|
'/etc/apt/apt.conf.d/20auto-upgrades':
|
||||||
|
file.managed:
|
||||||
|
- source: salt://debian-auto-upgrades/20auto-upgrades
|
||||||
|
- user: root
|
||||||
|
- group: root
|
||||||
|
- mode: 644
|
||||||
|
- require:
|
||||||
|
- pkg: unattended-upgrades
|
||||||
|
{% endif %}
|
|
@ -1,6 +1,7 @@
|
||||||
base:
|
base:
|
||||||
'*':
|
'*':
|
||||||
- base
|
- base
|
||||||
|
- debian-auto-upgrades
|
||||||
|
|
||||||
'roles:kubernetes-pool':
|
'roles:kubernetes-pool':
|
||||||
- match: grain
|
- match: grain
|
||||||
|
|
Loading…
Reference in New Issue