Re: CFEngine Help: Re: CFEngine Help: Re: libtokyocabinet.so.9 error on AIX 5.2

2012-04-23 Thread Oace, Tod R
> Subject: Re: CFEngine Help: Re: libtokyocabinet.so.9 error on AIX 5.2 > Author: raymondcox > Link to topic: https://cfengine.com/forum/read.php?3,25650,25652#msg-25652 > > Thank you for the suggestion, unfortunately I get the same result. I see the > following entry in the config.log file: > >

Re: CFEngine Help: Re: libtokyocabinet.so.9 error on AIX 5.2

2012-04-23 Thread Oace, Tod R
> Subject: Re: libtokyocabinet.so.9 error on AIX 5.2 > Author: raymondcox > Link to topic: https://cfengine.com/forum/read.php?3,25565,25649#msg-25649 > > I have tried using --with-tokyocabinet=/usr/local/include or /usr/local/lib. Try --with-tokyocabinet=/usr/local -- Tod Oace, Intel Corporat

Re: CFEngine Help: Re: insert_lines and file select

2012-03-30 Thread Oace, Tod R
> Author: tuibelgium > Link to topic: https://cfengine.com/forum/read.php?3,25409,25417#msg-25417 > > So there is no such thing as: > > vars: > "file" slist => fileselect( .* ) The lsdir() added in 3.3.0 seems like what you want. https://cfengine.com/manuals/cf3-reference#Function-lsdir -- To

Re: CFEngine Help: Re: Execution order (was: classes not working in vars?)

2012-03-29 Thread Oace, Tod R
sauer wrote: > I've been meaning to extend that approach and try making a parametrized > bundle which takes the varaible as input (say, "bundle agent > overrideable(varname)"), but I've been too busy to figure out how CFEngine > handles variable namespacing when I call the same bundle name seve

Re: Execution order

2012-03-26 Thread Oace, Tod R
com > http://www.markburgess.org > Twitter: @markburgess_osl, @CFEngine_news > > > On 03/23/2012 11:39 PM, Oace, Tod R wrote: >> On Mar 16, 2012, at 9:46 AM, Nick Anderson wrote: >> >>> Yep, when I have to do some strict ordering I will also set a negative >>>

Execution order (was: classes not working in vars?)

2012-03-23 Thread Oace, Tod R
On Mar 16, 2012, at 9:46 AM, Nick Anderson wrote: > Yep, when I have to do some strict ordering I will also set a negative > like "not_has_shortname" right after so that I can tell if something has > really not been done yet. Usually I don't need that kind of strict > ordering though. We're doin

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

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.

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

"any" usebundle

2012-01-04 Thread Oace, Tod R
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 written in standard promise form.