Justin,

There's no reason and need to include bundle common * into bundlesequence.

2010/5/28 Justin Lloyd <jll...@digitalglobe.com>:
> Tom,
>
> It doesn't look like you have the "def" bundle in your bundlesequence. Does 
> including it at the beginning of the bundlesequence fix your problem?
>
> Justin
>
> -----Original Message-----
> From: help-cfengine-boun...@cfengine.org 
> [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Tom Van de Velde
> Sent: Friday, May 28, 2010 2:33 AM
> To: Seva Gluschenko
> Cc: help-cfengine@cfengine.org
> Subject: Re: Working with a global variable defenition bundle for ALL 
> variables
>
> Seva,
>
> No that does not work, with the -v option you can see that he does not 
> resolve .
> Also the class with the domain name is not defined.
>
> Regards,
> Tom
>
> cf-agent -Kv | grep SET
> cf3 SET domain = $(def.cfengineDomain)
> cf3 SET ignore_missing_bundles true
> cf3 SET ignore_missing_inputs true
> my_cf3 SET domain = $(def.cfengineDomain)
> my_cf3 SET ignore_missing_bundles true
> my_cf3 SET ignore_missing_inputs true
> my_cf3 SET ifelapsed = 15
> my_cf3 SET inform =
>
>
> --- On Fri, 5/28/10, Seva Gluschenko <seva.glusche...@gmail.com> wrote:
>
>> From: Seva Gluschenko <seva.glusche...@gmail.com>
>> Subject: Re: Working with a global variable defenition bundle for ALL  
>> variables
>> To: "Tom Van de Velde" <tom_vandeve...@yahoo.com>
>> Cc: help-cfengine@cfengine.org
>> Date: Friday, May 28, 2010, 9:52 AM
>> 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
>
> This electronic communication and any attachments may contain confidential 
> and proprietary
> information of DigitalGlobe, Inc. If you are not the intended recipient, or 
> an agent or employee
> responsible for delivering this communication to the intended recipient, or 
> if you have received
> this communication in error, please do not print, copy, retransmit, 
> disseminate or
> otherwise use the information. Please indicate to the sender that you have 
> received this
> communication in error, and delete the copy you received. DigitalGlobe 
> reserves the
> right to monitor any electronic communication sent or received by its 
> employees, agents
> or representatives.
>
>



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

Reply via email to