add a cron job to lockbox01

seth vidal skvidal at fedoraproject.org
Wed Feb 22 19:49:03 UTC 2012


I'd like +1's to add a cron job to lockbox01. 

The cron job will generate /etc/func/groups based on the virthost and
their func minions.

it is this script, dropped into /etc/cron.hourly
http://fedorapeople.org/gitweb?p=skvidal/public_git/scripts.git;a=blob;f=func/func-groups-by-virthost

This means we will be able to do things like:

func-command --host=@virthost10.phx2.fedoraproject.org "some command
for only those minions on virthost10"

and it runs only on those - nice for rebooting boxes, for example.

From this I am planning on working on specific timed and staged reboot
commands, among others.

low risk to anything to do this.

thanks
-sv


More information about the infrastructure mailing list