X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2FMakefile;h=fced5b58d93a878c2faa360b16fc1d86249b540b;hb=0f9d55936cdd62bb3b3d338ad3373a7de3b2b6a6;hp=87ef0f610d6d450fd6ff8adde3218c3a851de9aa;hpb=0b084c6474b5c5887ff6e06bedbca6dc55a4d6f0;p=infrastructure.git diff --git a/scripts/Makefile b/scripts/Makefile index 87ef0f6..fced5b5 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,7 +1,9 @@ -SOURCE=ple-backup-cleanup.cron +SOURCE = ple-backup-cleanup.cron +# dec 2015 : not on boot any more +HOSTS = www ple-backup: - @for host in www boot; do for name in ple-backup ple-cleanup; do \ + @for host in $(HOSTS); do for name in ple-backup ple-cleanup; do \ fqdn=$$host.planet-lab.eu; target=/etc/cron.daily/$$name.cron; \ echo pushing $(SOURCE) onto $$fqdn as $$target; \ rsync -av $(SOURCE) root@$$fqdn:$$target; \