gitea ssd
This commit is contained in:
parent
a3c7acc399
commit
9946edc6f3
1 changed files with 17 additions and 6 deletions
|
@ -66,9 +66,20 @@ defaults = {
|
|||
'home': '/home/git',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'zfs/datasets',
|
||||
)
|
||||
def zfs(metadata):
|
||||
if not node.has_bundle('zfs'):
|
||||
return {}
|
||||
|
||||
return {
|
||||
'zfs': {
|
||||
'datasets': {
|
||||
'tank/gitea': {
|
||||
f"{metadata.get('zfs/storage_classes/ssd')}/gitea": {
|
||||
'mountpoint': '/var/lib/gitea',
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue