Forum: Cfengine Help
Subject: Re: Cfengine Help: methods and undeclared bundles
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,16648,16649#msg-16649

Unfortunately, this appears to be for the bundlesequence only:

##########################################################################

body common control {

    bundlesequence => { "test" };
    ignore_missing_bundles => "true";
}


##########################################################################

bundle agent test {

  methods:

    "any" usebundle  => undefined_bundle,
          ifvarclass => "not_defined_at_all";

}

##########################################################################

 % cf-agent -Kf ./btest.cf 
Undeclared promise bundle "undefined_bundle()" was referenced in a promise
Summarizing promises as text to ./btest.cf.txt
Summarizing promises as html to ./btest.cf.html
cf-agent was not able to get confirmation of promises from cf-promises, so 
going to failsafe

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

Reply via email to