bundles/apt: change origins to sites
This commit is contained in:
parent
0750610ccc
commit
a1e05108c1
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ def nginx_apt_repo(metadata):
|
|||
},
|
||||
},
|
||||
'unattended-upgrades': {
|
||||
'origins': {
|
||||
'sites': {
|
||||
'nginx.org',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -18,7 +18,7 @@ def nodejs_apt_repos(metadata):
|
|||
},
|
||||
},
|
||||
'unattended-upgrades': {
|
||||
'origins': {
|
||||
'sites': {
|
||||
'deb.nodesource.com',
|
||||
'dl.yarnpkg.com',
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@ nodes['htz.ex42-1048908'] = {
|
|||
'metadata': {
|
||||
'apt': {
|
||||
'unattended-upgrades': {
|
||||
'origins': {
|
||||
'sites': {
|
||||
'weechat.org',
|
||||
'rspamd.com',
|
||||
'nginx.org',
|
||||
|
|
Loading…
Reference in a new issue