Improve ganeti example cron file
authorGuido Trotter <ultrotter@google.com>
Sat, 23 Feb 2008 10:48:22 +0000 (10:48 +0000)
committerGuido Trotter <ultrotter@google.com>
Sat, 23 Feb 2008 10:48:22 +0000 (10:48 +0000)
commit0d349b3a5a29990a637a2002e7cf68e8d2427b08
tree1cd3153b406055d55b7e899fedd5173204923c41
parent6c8af3d0651d2facd2a1ca599af36047986f3edf
Improve ganeti example cron file

The cron file in ganeti's example directory is now static, and executes
ganeti-watcher in /usr/local/sbin no matter where it's really installed. With
this patch we generate it at build time substituting the right value of
@SBINDIR@ from ganeti.cron.in. We also make sure ganeti-watcher exists and is
executable before running it.

This is targeted at 1.2 as well.

Reviewed-by: iustinp
doc/examples/Makefile.am
doc/examples/ganeti.cron.in [moved from doc/examples/ganeti.cron with 54% similarity]