Forum: Cfengine Help
Subject: Re: Redhat Patching (update) using yum_rpm or yum via cfEngine.
Author: debheller
Link to topic: https://cfengine.com/forum/read.php?3,21796,21801#msg-21801

chadpatt Wrote:
-------------------------------------------------------
> I have various installs with different packages
> installed and a dedicated repo for patching.  I
> know how to setup a promise to update specific
> packages... but how do you write a package to
> wildcard all installed packages for patching?
> 
> Sees like it would he something like
> 
> packages slist => { ".*" }; but that doesn't seem
> to work... I have also tried
> 
> packages slist => { "a.*", "b.*" ...}; but no go
> with that as well...
> 
> Any help would be appreciated.

Looking for a little more info... 

When there are updates available on your repo, and you've set up your 
/etc/yum.repos/*.repo files to point to the appropriate locations, couldn't you 
just run the command "/usr/bin/yum -y update" in a promise? -  Any updates that 
are available will be downloaded and installed.  

Or, am I missing something about what you need?

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to