That's excellent information, thank's for taking the time Matt.
You may be able to achieve this using the Configuration Channel ranks
under Activation Keys.. but this will only work when you are first
registering the client to Spacewalk.. once it is registered I don't
think you can achieve what you are trying to do using Configuration
Channels.. this sounds more like a job for Puppet.. you could however
put a script that does what you need as a configuration file, and use
Remote Actions to run it on the selected clients.
I use the API heavily for these kinds of tasks.. there is a great
little python script out there on Github for scheduling remote actions
on clients. Basically all you have to do is create the script you want
to run on a client, and pipe it to this python script:
https://github.com/angrox/spacewalk-api-scripts/tree/master/spacewalk-schedule-scriptrun
On Thu, May 29, 2014 at 5:45 AM, Stuart Green
<[email protected] <mailto:[email protected]>>
wrote:
Hi Folks,
Is there a way to make one configuration management channel change
dependant on another.
In this case, I have two steps.
Create a new directory on the client
Create a new file on the client within the new directory
I want to make sure the 1st step happens before the 2nd, so the
2nd step does not fail, is it possible?
Thanks,
Stu
_______________________________________________
Spacewalk-list mailing list
[email protected] <mailto:[email protected]>
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list