Re: add new action=fix to cfengine

Jo Rhett <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
>> action.  So, I think that if you have action=fix, you'll be  
>> redoing the package install *each run*, because both cases on  
>> match do something on the fix action without requiring any  
>> additional preconditions.
>
> Yes.  So you need to make the pattern match be non-inclusive of the  
> desired result.
>
> ...oh, you know I think I know what you're saying here.  Good  
> point. Let me think about this.  Unfortunately, I'm out tomorrow so  
> can we hold 2.2.6 until Tuesday at least?

So there are several ways to work this.  The more I think about it,  
the more I think that "fix" should always be "eq" so that it can fix  
in either direction, yes?

So install and fix would be non-match, and upgrade and remove would  
be match... yes?

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.