On 03/09/2012 07:22 AM, no-re...@cfengine.com wrote:
> I'm sorry if my question is not clear.
> 
> Ok, this is what I want;
> 
> Make a promise file for all our linux boxes.
> 
> This promise must update my linux OS at regular basis.
> 
> The following steps must be taken by CFengine;
> - Check which updates are available (Red Hat)
> - Install the updates
> - Exclude the kernel package 
> 
> I hope this could be done automatically with CFengine.

I understand what your goal is. I am sure that can be done with
CFEngine. The first thing you need to do is break down the problem. If
you were to log into a server check which updates were available and
install them excluding the kernel packages what specifically would you
do? You need to understand the specifics of what it is you need to do so
that you can construct the necessary promises.

For example if you log into your redhat box and run
"Check which updates are available"
you will likely get back a command not found error.

Figure out the specifics of how you would accomplish this manually
first, understand the steps involved, then you will be equipped to start
constructing promises.


-- 
Nick Anderson <n...@cmdln.org>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to