pg: apt/config/APT/NeverAutoRemove
This commit is contained in:
parent
0dabb39ca4
commit
b64470b160
1 changed files with 19 additions and 0 deletions
|
@ -54,6 +54,25 @@ def conf(metadata):
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@metadata_reactor.provides(
|
||||||
|
'apt/config/APT/NeverAutoRemove',
|
||||||
|
)
|
||||||
|
def apt(metadata):
|
||||||
|
return {
|
||||||
|
'apt': {
|
||||||
|
'config': {
|
||||||
|
'APT': {
|
||||||
|
'NeverAutoRemove': {
|
||||||
|
# https://github.com/credativ/postgresql-common/blob/master/pg_updateaptconfig#L17-L21
|
||||||
|
f"^postgresql.*-{metadata.get('postgresql/version')}",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'zfs/datasets',
|
'zfs/datasets',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue