wip
This commit is contained in:
parent
936dfbadde
commit
ad460b45e7
2 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@metadata_reactor.provides(
|
||||
'users',
|
||||
)
|
||||
def user(metadata):
|
||||
def users(metadata):
|
||||
users = {}
|
||||
|
||||
for name, config in metadata.get('users').items():
|
||||
|
|
Loading…
Reference in a new issue