Hello,

I'm using cfengine 3.0.4 on a debian sid, I want to use class based
bundlesequence and inputs.

There is an example in the manual for bundlesequence, I did not manage
to do the same for inputs, cf-promises give me the following error:

cf3 Can't stat file "/home/dad/.cfagent/inputs/@(test.inputs)" for parsing

## promises.cf
body common control
{
    bundlesequence => { "base", @(test.bundles) };
    inputs => {"test.cf", @(test.inputs) };
}

bundle agent base
{
reports:

    debian::
        "In base";

}

## test.cf
bundle common test
{
vars:

    any::
        "bundles" slist => { "test", @(test2.bundles) };
        "inputs" slist => { "test2.cf", @(test2.inputs) };
}

bundle agent test
{
reports:

    debian::
        "In test";

}

## test2.cf
bundle common test2
{
vars:

    any::
        "bundles" slist => { "test2" };
        "inputs" slist => {};
}

bundle agent test2
{

reports:

    debian::
        "In test2";

}

Is this a bug ?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpIdhkAVQTqH.pgp
Description: PGP signature

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

Reply via email to