Ante Karamatic 2014-03-01 18:39:21 +01:00
parent 1e1b35b197
commit a7c8d88dbb

View File

@ -253,5 +253,5 @@ def sync_to_peer(host, user, paths=[], verbose=False):
def sync_to_peers(peer_interface, user, paths=[], verbose=False): def sync_to_peers(peer_interface, user, paths=[], verbose=False):
'''Sync all hosts to an specific path''' '''Sync all hosts to an specific path'''
for host in collect_authed_hosts(): for host in collect_authed_hosts(peer_interface):
sync_to_peer(host, user, paths, verbose) sync_to_peer(host, user, paths, verbose)