Improve ganeti example cron file
authorGuido Trotter <ultrotter@google.com>
Sat, 23 Feb 2008 10:51:58 +0000 (10:51 +0000)
committerGuido Trotter <ultrotter@google.com>
Sat, 23 Feb 2008 10:51:58 +0000 (10:51 +0000)
commitfecd9e5ab26979fe607501c513cebb957b98a900
tree564b8af55afb48e61e30d584ce254affa8ce6016
parent76acb2ddda8fa6811ce0197dd44fdb5692013555
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]