[Spacewalk-list] Configuration Management - Dependencies
Stuart Green
stuart.green at doccentrics.com
Fri May 30 08:26:33 UTC 2014
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
> <stuart.green at doccentrics.com <mailto:stuart.green at doccentrics.com>>
> 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
> Spacewalk-list at redhat.com <mailto:Spacewalk-list at redhat.com>
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140530/0d6d7e38/attachment.htm>
More information about the Spacewalk-list
mailing list