Hi,

We have a very specific setup in our cfengine environment. It is the result of 
a separation of people producing the cfengine code and system engineer who will 
determine what needs to be done on a specific system. 

It comes down to 2 steps in the cfengine 2 :
1.Determine if a file is there. (FileExists)
2.Import the file and basically execute it.

An example is something like
classes:
        do_apache = (FileExists(/var/cfengine/inputs/cf2.apache}) )

import:
        do_apache::  
 cf2.apache

This way we do allow engineers to use predefined modules without editing the 
CFengine code. Any idea what is the best option to migrate this kind of 
behavior to a version 3 structure?

Kind regards,
Tom


      
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to