Timothy Rees <[email protected]> writes:

> Hi list,
>
> Is there a builtin way to trigger a script on the spacewalk server to
> run as soon as a new client is registered using an activation key?
>
> I have a requirement where registered clients are grouped
> automatically and the output of a scheduled command is used to
> determine which groups a client should be joined to.  Currently I have
> this running out of cron on a schedule, however would like it to be
> triggered when systems are registered, any way to achieve this?

It's a hack but you could trigger such an activity by designating an RPM to
be installed for your particular activation key and have a %post section in
the RPM execute something for you.

-- 
Jon Miller

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to