fix apt unattended-upgrades

This commit is contained in:
Franzi 2020-05-23 17:01:30 +02:00
parent bd48c45553
commit 86d88a4355
Signed by: kunsi
GPG key ID: 12E3D2136B818350
6 changed files with 16 additions and 18 deletions

View file

@ -3,8 +3,8 @@ Unattended-Upgrade::Origins-Pattern {
"origin=Debian,codename=${node.metadata['os_release']},label=Debian-Security"; "origin=Debian,codename=${node.metadata['os_release']},label=Debian-Security";
// External packages // External packages
% for item in sorted(data.get('sites', set())): % for item in sorted(data.get('origins', set())):
"site=${item}"; "${item}";
% endfor % endfor
}; };

View file

@ -11,8 +11,8 @@ def nodejs_apt_repos(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'sites': { 'origins': {
'pkg.jenkins.io', 'o=jenkins.io,a=binary',
}, },
}, },
'packages': { 'packages': {

View file

@ -11,8 +11,8 @@ def nodejs_apt_repos(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'sites': { 'origins': {
'packages.matrix.org', 'o=matrix.org,n=buster,c=main',
}, },
}, },
'packages': { 'packages': {

View file

@ -11,8 +11,8 @@ def defaults(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'sites': { 'origins': {
'nginx.org', 'o=nginx,a=stable,n=buster,l=nginx,c=nginx',
}, },
}, },
'packages': { 'packages': {

View file

@ -18,9 +18,9 @@ def nodejs_apt_repos(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'sites': { 'origins': {
'deb.nodesource.com', 'o=Node Source,n=buster,l=Node Source,c=main',
'dl.yarnpkg.com', 'o=yarn,a=stable,n=stable,l=yarn-stable,c=main',
}, },
}, },
'packages': { 'packages': {

View file

@ -13,13 +13,11 @@ nodes['htz.ex42-1048908'] = {
'metadata': { 'metadata': {
'apt': { 'apt': {
'unattended-upgrades': { 'unattended-upgrades': {
'sites': { 'origins': {
'weechat.org', 'site=weechat.org',
'rspamd.com', 'o=Rspamd,n=buster,l=Rspamd,c=main',
'artifacts.elastic.co', 'site=apt.miniflux.app',
'apt.miniflux.app', 'o=grafana stable,a=stable,n=stable,l=grafana stable,c=main',
'packages.grafana.com',
'packages.matrix.org',
}, },
}, },
}, },