On Tue, 08 Mar 2011 16:26:47 +0100 Mikhail Gusarov
wrote:
MG> On 07.03.2011 18:33, Mikhail Gusarov wrote:
>> Ted,
>>
>> > As a suggestion, could the module execution take a
>>> "namespace" string parameter so this is not an issue? And could the
>>> module namespace be converted to a legal name
On 07.03.2011 18:33, Mikhail Gusarov wrote:
> Ted,
>
> > As a suggestion, could the module execution take a
>> "namespace" string parameter so this is not an issue? And could the
>> module namespace be converted to a legal namespace without "." or any
>> other illegal characters?
>
> Filed as bugs
Ted,
> As a suggestion, could the module execution take a
> "namespace" string parameter so this is not an issue? And could the
> module namespace be converted to a legal namespace without "." or any
> other illegal characters?
Filed as bugs https://cfengine.com/bugtracker/view.php?id=511 and
(oh, top-quoting...)
I did; the examples work when the module has no "." in the name. IOW
this:
"$(g.myroot)/pup" args => "--cfmodule -db server_machines.txt", module =>
"true", contain => in_dir($(g.myroot));
works: I can reference $(pup.dns_domain)
But this:
"$(g.myroot)/pup.pl" args =
Check out tests/units/unit_module* in the source code.
On 02/23/2011 01:53 AM, Ted Zlatanov wrote:
> I'm evaluating the community edition:
> community> Cfengine - 3.1.4 Copyright (C) Cfengine AS 2008,2010-
>
> I have a module that defines a variable:
> community> Defined variable: dns_domain in
I'm evaluating the community edition:
community> Cfengine - 3.1.4 Copyright (C) Cfengine AS 2008,2010-
I have a module that defines a variable:
community> Defined variable: dns_domain in context pup.pl with value:
lifelogs.com
But I can't access it later. Here's the config file I ran directly w