add a cron job to lockbox01

Toshio Kuratomi a.badger at gmail.com
Thu Feb 23 02:32:14 UTC 2012


On Wed, Feb 22, 2012 at 12:51:43PM -0700, Kevin Fenzi wrote:
> 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. ;) 
>

+1 as well

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20120222/bdb37d54/attachment-0001.sig>


More information about the infrastructure mailing list