TAke a look at http://www.cfengine.org/manuals/cf3-reference.html#ignore_005fmissing_005finputs-in-common
Perhaps this is what you need. But see also the special topics guide on teamwork, M Tom Van de Velde wrote: > 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 -- 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