Tom,

does this help?

domain                  => "$(def.cfengineDomain)";

(arguments must be quoted, AFAIR.)

2010/5/28 Tom Van de Velde <tom_vandeve...@yahoo.com>:
> Hi
>
> I was wondering if it is possible th have a configuriation bundle that holds 
> ALL variables at the beginning of the configuration file.
> It turns out that it is working for most of them except definitions for the 
> "body common control" block, like for instance domain.
> Is there anybody who has needed this kind of a situation before??
>
> Regards,
> Tom
>
> #######################################################
> # promises.cf
> #######################################################
>
> bundle common def{
> vars:
>        "policyMaster"          slist => {"localhost"};
>        "cfengineDomain"        string => "universe";
> }
>
> body common control{
>        domain                  => $(def.cfengineDomain);
>        bundlesequence  => {
>                                        "update",
>                                        "clean_input",
>                                        "garbage_collection",
>                                        "main",
>                                        "cfengine",
>                                        "cluster",
>                                        "sudo"
>                   };
>
>        inputs          => {
>                                        "update.cf",
>                                        "site.cf",
>                                        "library.cf",
>                                        "cf3.cluster",
>                                        "cf3.sudo"
>                   };
>        version                 => "0.0.1";
>
>        ignore_missing_bundles => "true";
>        ignore_missing_inputs => "true";
>        output_prefix => "my_cf3";
> }
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>



-- 
SY, Seva Gluschenko.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to