Re: CFEngine Help: Re: "any" usebundle

2012-01-06 Thread Oace, Tod R
> 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

CFEngine Help: Re: "any" usebundle

2012-01-06 Thread no-reply
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"); " Bundles typically have more than one promiser inside

CFEngine Help: Re: "any" usebundle

2012-01-05 Thread no-reply
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)"); } bundle agent test(params) { reports: cfeng

Re: CFEngine Help: Re: CFEngine Help: Re: "any" usebundle

2012-01-05 Thread Oace, Tod R
> 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.

CFEngine Help: Re: CFEngine Help: Re: "any" usebundle

2012-01-05 Thread no-reply
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

Re: CFEngine Help: Re: "any" usebundle

2012-01-04 Thread Oace, Tod R
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)"); Sure, I understand parameters go on the right side. Wh

CFEngine Help: Re: "any" usebundle

2012-01-04 Thread no-reply
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? You do that