bundles/apt: change origins to sites

This commit is contained in:
Franzi 2020-04-04 11:21:30 +02:00
parent 0750610ccc
commit a1e05108c1
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 5 additions and 5 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('origins', set())): % for item in sorted(data.get('sites', set())):
"origin=${item}"; "site=${item}";
% endfor % endfor
}; };

View file

@ -11,7 +11,7 @@ def nginx_apt_repo(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'origins': { 'sites': {
'nginx.org', 'nginx.org',
}, },
}, },

View file

@ -18,7 +18,7 @@ def nodejs_apt_repos(metadata):
}, },
}, },
'unattended-upgrades': { 'unattended-upgrades': {
'origins': { 'sites': {
'deb.nodesource.com', 'deb.nodesource.com',
'dl.yarnpkg.com', 'dl.yarnpkg.com',
}, },

View file

@ -8,7 +8,7 @@ nodes['htz.ex42-1048908'] = {
'metadata': { 'metadata': {
'apt': { 'apt': {
'unattended-upgrades': { 'unattended-upgrades': {
'origins': { 'sites': {
'weechat.org', 'weechat.org',
'rspamd.com', 'rspamd.com',
'nginx.org', 'nginx.org',