bundlewrap/bundles/nginx/metadata.py

23 lines
600 B
Python
Raw Normal View History

2020-03-14 09:56:19 +00:00
@metadata_processor
def nginx_apt_repo(metadata):
return {
'apt': {
'repos': {
'nginx': {
'key': '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62',
'items': [
'deb http://nginx.org/packages/debian buster nginx',
],
},
},
'unattended-upgrades': {
2020-04-04 09:21:30 +00:00
'sites': {
2020-03-14 09:56:19 +00:00
'nginx.org',
},
},
'packages': {
'nginx': {},
},
2020-03-14 09:56:19 +00:00
},
}, DEFAULTS, DONE