items/zfs_dataset: add automatic dependency for all files, directories and git_deploy of a dataset
This commit is contained in:
parent
b3e322ae08
commit
1086ed28c3
6 changed files with 9 additions and 28 deletions
|
@ -14,15 +14,9 @@ for nodename, config in node.metadata.get('backup-server/clients', {}).items():
|
|||
'content': pubkey,
|
||||
'owner': config['user'],
|
||||
'mode': '0400',
|
||||
'needs': {
|
||||
'bundle:zfs',
|
||||
},
|
||||
}
|
||||
|
||||
directories[f'/srv/backups/{nodename}/backups'] = {
|
||||
'owner': config['user'],
|
||||
'mode': '0700',
|
||||
'needs': {
|
||||
'bundle:zfs',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue