I was actually surprised this didn't exist yet after searching around for something like it.
The SSM code already supports adding/removing systems by group, so doing an intersection is just a manual step at this point. You can also do the same thing with searching for systems (e.g., all all VMware systems by doing an 'ssm_add vendor:vmware'). Adding a method to handle this automatically would be pretty slick. If you have patches, send them over. I'm new to git and GitHub, but I'm sure I'll figure out how to handle patches from others. /aron ----- Original Message ----- From: "Maxim Burgerhout" <ma...@wzzrd.com> To: spacewalk-devel@redhat.com Cc: apars...@redhat.com Sent: Wednesday, April 28, 2010 7:12:53 AM GMT -05:00 US/Canada Eastern Subject: Re: [Spacewalk-devel] spacecmd - Spacewalk Command Shell Cool! A *long* time ago, I posted to this list about a very similar script I had written. My employer had his reservations on sending the script upstream, so it never happened. I never got to doing the cleaner rewrite I had planned to do in my spare time (because I have none) and submitting that. What I hopefully *will* be able to do, is contribute to this script. I'm checking it out right now and already love it. I admit had a lot less methods implemented. What I did have though, is a way of doing an intersection between more than 2 groups. I don't think this was ever possible in the Spacewalk / Satellite web GUI. I'll look into implementing that in your script, if you consider it interesting. Maxim Burgerhout ma...@wzzrd.com ---------------- GPG Fingerprint EB11 5E56 E648 9D99 E8EF 05FB C513 6FD4 1302 B48A On Tue, Apr 27, 2010 at 21:43, Aron Parsons <apars...@redhat.com> wrote: > I wrote a shell interface to Spacewalk that leverages the API found in > Spacewalk (I wrote this against Satellite 5.3, v10.8 of the API). The focus > of the program is on managing systems, not all the other aspects of > Satellite. However, other data in Spacewalk (e.g., Kickstarts, activation > keys, configuration channels) can be viewed, just not manipulated. > > I'm sure there are plenty of bugs to be found and features to be added. > Please provide feedback directly to me or via GitHub. If there's any > interest in this, I hope maybe it can live in the 'contrib' directory of the > Spacewalk git repository. > > http://github.com/aparsons/spacecmd > > /aron > > _______________________________________________ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel > _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel