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";
// External packages
% for item in sorted(data.get('origins', set())):
"origin=${item}";
% for item in sorted(data.get('sites', set())):
"site=${item}";
% endfor
};

View file

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

View file

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

View file

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