turn off f24 build
[infrastructure.git] / scripts / Makefile
index abd3d3f..fced5b5 100644 (file)
@@ -1,14 +1,23 @@
-# $Id$
-# $URL$
+SOURCE = ple-backup-cleanup.cron
+# dec 2015 : not on boot any more
+HOSTS  = www
 
-vhosts:
-       cat VSHOSTS
-
-vprobe:
-       vs-probe -f VSHOSTS > VSERVERS
-       @echo 'refreshed VSERVERS'
-       cat VSERVERS
+ple-backup:
+       @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; \
+       done ; done
 
+########################################
 vcheck:
-       vs-netcheck -f VSERVERS
+       vs-check -f VSERVERS
+
+vshow:
+       vs-show -l -f VSERVERS
+
+vcache:
+       vs-show -f VSERVERS > VCACHE
 
+vshowcache:
+       vs-show -l -f VCACHE