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

Nope, the bundle will not be found in the promises.cf or the imported files.

The process I have only copies the inputs (bundles) based on a as-needed 
policy. Only the specified bundles for a specific host will be copied over. 
With this particular example, the undefined_bundle and it corresponding .cf 
file is not present. If the .cf file was copied over, then the 
not_defined_at_all class would be set through various magic means.

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

bundle agent test {

  methods:

   not_defined_at_all::

    "any" usebundle  => undefined_bundle;

}

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

Perhaps I should rethink this process and copy over all the .cf files and 
constrain only with the bundlesquence. I tried to avoid this as I didn't want 
all the .cf files on every host, only the ones pertinent for the management of 
the host.

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

Reply via email to