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";
|
"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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ def nginx_apt_repo(metadata):
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'unattended-upgrades': {
|
'unattended-upgrades': {
|
||||||
'origins': {
|
'sites': {
|
||||||
'nginx.org',
|
'nginx.org',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue