Omnomnom gère les homes

This commit is contained in:
Pierre-Elliott Bécue 2014-12-16 01:48:54 +01:00
parent b45ee5695c
commit 2ca39a03b0
3 changed files with 12 additions and 6 deletions

View file

@ -70,5 +70,7 @@ def backuppc_hosts(comment, hostslist):
@#larson 1 bill # <--- example DHCP host entry
@
backuppc_hosts("Backups des homes", ["home-%s" % (homeName,) for homeName in HomeHosts])
backuppc_hosts("Backups des serveurs", RsyncHosts)
if has("backup-homes"):
backuppc_hosts("Backups des homes", ["home-%s" % (homeName,) for homeName in HomeHosts])
if has("backup-server"):
backuppc_hosts("Backups des serveurs", RsyncHosts)