bundlewrap/bundles/wol-waker/metadata.py
2022-02-12 18:01:03 +01:00

15 lines
343 B
Python

@metadata_reactor.provides(
'users/wol',
)
def user(metadata):
return {
'users': {
'wol': {
'authorized_users': {
f'root@{node.name}'
for node in repo.nodes
if node.dummy == False
},
},
},
}