add a cron job to lockbox01

Kevin Fenzi kevin at scrye.com
Wed Feb 22 19:51:43 UTC 2012


On Wed, 22 Feb 2012 14:49:03 -0500
seth vidal <skvidal at 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=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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20120222/a7b57fff/attachment.sig>


More information about the infrastructure mailing list