I second Mark's recommendation to try Cfengine 3; ordering is much
easier to understand.

If you really need to understand ordering for Cfengine 2, check out
this blog post I wrote a while back:

http://euvethker.blogspot.com/2005/12/cfengine-best-practices.html

On Fri, Nov 27, 2009 at 1:09 AM, Mark Burgess <mark.burg...@iu.hio.no> wrote:
>
> Michael, in cfengine 2, the actionsequence is not local to the files you 
> import.
> By adding to the action sequence you just make the global one longer.
>
> I recommend looking at cfengine 3 where there is no actionsequence.
>
> Michael Gale wrote:
>> Hello,
>>
>>
>>
>>     In reviewing the CFengine docs I have a few questions about the run
>> time order if any of CFengine polices. Below is my understanding which I
>> would like someone to please verify:
>>
>>
>>
>> -          collections in an actionsequence are carried out in that order
>>
>> -          multiple classes (linux,window,ipv4..) under a collection can
>> be executed in any order
>>
>> -          multiple imports can be executed in any order
>>
>>
>>
>> The main reason for my question is that in my cfagent.cf file I have a
>> number of import statements and it seems that the actionsequences in the
>> imported files are not run in the manner:
>>
>>
>>
>> Import1 – all actionsequences
>>
>> Import2 – all actionsequences
>>
>> ….
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>> Michael
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
> --
> Mark Burgess
>
> -------------------------------------------------
> Professor of Network and System Administration
> Oslo University College, Norway
>
> Personal Web: http://www.iu.hio.no/~mark
> Office Telf : +47 22453272
> -------------------------------------------------
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to