> Author: mark
> Link to topic: https://cfengine.com/forum/read.php?3,24472,24491#msg-24491
>
> I tried this
> "my famous string" usebundle => test("$(this.promiser)");
> but it didn't work. I regard this as a bug. I found this bug and have
> committed a non-fully tested fix to trunk. I w
Forum: CFEngine Help
Subject: Re: "any" usebundle
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24472,24494#msg-24494
"But what I'd rather do is:
methods:
"/my/file" usebundle => my_bundle("some-other-parameter");
"
Bund
Forum: CFEngine Help
Subject: Re: "any" usebundle
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,24472,24491#msg-24491
I tried this
bundle agent test
{
methods:
"my famous string" usebundle => test("$(this.promiser)");
}
bu
> Author: sauer
> Link to topic: https://cfengine.com/forum/read.php?3,24472,24485#msg-24485
> I use that value as a descriptive name, the same way other promises use it;
> usually I choose a more descriptive version of the bundle name, but it always
> describes the purpose in one or two words.
Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: "any" usebundle
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24472,24485#msg-24485
Oace, Tod R Wrote:
---
> I think called bundles should be able to do the
Hi Neil,
> The left hand quoted string has not purpose at this time. We often use for
> information. Are you looking to pass strings to your bundle? You do that
> on the right side:
>
> "any" usebundle => mybundle("string", "$(var)");
Su
On 01/04/2012 08:24 PM, Oace, Tod R wrote:
> Hello everyone,
>
> Is there a way for a bundle to access the "any" value of the following?
>
> "any" usebundle => my_bundle;
>
> I was hoping that $(this.promiser) would do it, but it doesn't. Not in
Forum: CFEngine Help
Subject: Re: "any" usebundle
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24472,24473#msg-24473
The left hand quoted string has not purpose at this time. We often use for
information. Are you looking to pass strings to your bundle? Y
Hello everyone,
Is there a way for a bundle to access the "any" value of the following?
"any" usebundle => my_bundle;
I was hoping that $(this.promiser) would do it, but it doesn't. Not in version
3.2.0 anyway.
If that could be done then bundle calls could be writt
Bas,
classes defined via classes body become global, so you must tune class
name to be unique.
2010/12/9 Bas van der Vlies :
> I have this bundle:
> {{{
> bundle agent quarterly {
> methods:
> any::
> "any" usebund
I have this bundle:
{{{
bundle agent quarterly {
methods:
any::
"any" usebundle => cfengine_daemons_check();
"any" usebundle => system_access_config("lisa");
11 matches
Mail list logo