Re: add a cron job to lockbox01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 22 Feb 2012 14:49:03 -0500
seth vidal <skvidal@xxxxxxxxxxxxxxxxx> 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=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.

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. ;) 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux