This commit is contained in:
mwiegand 2021-07-06 21:54:18 +02:00
parent 936dfbadde
commit ad460b45e7
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,4 @@
@metadata_reactor.provides(
'users/backup-receiver/authorized_keys'
)
@metadata_reactor
def backup_authorized_keys(metadata):
for other_node in repo.nodes:
if other_node.metadata.get('backup/server') == node.name:

View file

@ -1,7 +1,7 @@
@metadata_reactor.provides(
'users',
)
def user(metadata):
def users(metadata):
users = {}
for name, config in metadata.get('users').items():