On Wed, 22 Feb 2012 14:49:03 -0500
seth vidal <skvidal(a)fedoraproject.org> wrote:
> 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=...
>
> This means we will be able to do things like:
>
> func-command --host=(a)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.
Sure, +1 here... two things tho:
1) Would it make sense to just tie this into the existing script that
makes /var/log/virthost-lists.out ?
2) lockbox01 isn't in the pre-release freeze. ;)