Hi Daniel,

Does it help to say the following in your policy?
---
   bundlesequence => { "base", "test", @(test.bundles) };
---

--
Regards,
Eystein

On Sun, May 2, 2010 at 4:36 PM, Daniel Dehennin
<daniel.dehen...@baby-gnu.org> wrote:
> 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
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to