<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I had a similar requirement recently and through a little inventiveness, and some python/cgi scripting we basically create a http cgi call from the newly built system to the satellite during build time, that passed a few variables, and executed api calls to move the server to appropriate groups, configure custom variables and perform other satellite functions automatically.<div><br></div><div><br></div><div><br></div><div><br><div><div>On Sep 22, 2014, at 5:42 AM, Waldirio Manhães Pinheiro <<a href="mailto:waldirio@gmail.com">waldirio@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">Hello Tim and list, good morning</p><p dir="ltr">Tim when you say "grouped automatically", do you means sign a server in specific or more then one system group ??</p><p dir="ltr">I did in a customer some months ago one script where the sysadmin answer some questions and at the end the client that will be registered did the download of bootstrap.sh and changed the activation keys accordind choices. Note, you can combine activation keys so in this case was so easy to do what you need.</p><p dir="ltr">Let me know if help you.</p><p dir="ltr">B'regards<br>
Waldirio</p>
<div class="gmail_quote">Em 19/09/2014 04:25, "Timothy Rees" <<a href="mailto:reestr.uk@gmail.com">reestr.uk@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
Is there a builtin way to trigger a script on the spacewalk server to<br>
run as soon as a new client is registered using an activation key?<br>
<br>
I have a requirement where registered clients are grouped<br>
automatically and the output of a scheduled command is used to<br>
determine which groups a client should be joined to.  Currently I have<br>
this running out of cron on a schedule, however would like it to be<br>
triggered when systems are registered, any way to achieve this?<br>
<br>
Cheers,<br>
Tim<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div>
_______________________________________________<br>Spacewalk-list mailing list<br><a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>https://www.redhat.com/mailman/listinfo/spacewalk-list</blockquote></div><br></div></body></html>