The bug has been fixed
On 12/18/2010 06:22 PM, Jesse Becker wrote:
> On Sat, Dec 18, 2010 at 11:00:23AM -0500, Mark Burgess wrote:
>>
>> Jesse and Seva,
>>
>> thank you for pointing out this problem. It was a simple typo (actually
>> failure to substitute some old code for new) that resulted in t
On Sat, Dec 18, 2010 at 11:00:23AM -0500, Mark Burgess wrote:
>
>Jesse and Seva,
>
>thank you for pointing out this problem. It was a simple typo (actually
>failure to substitute some old code for new) that resulted in this
>deficiency. Of course this should work. Latest SVN fixes this bug.
>
>BTW
Mark,
that's what I've pointed out stating that the example can be easily
simplified, and I'd prefer to use classes rather than arrays for
simplicity. There are other applications though where classes won't
work, so thank you for gaining your attention to that and applying a
fix.
2010/12/18 Mark
Sandra Wittenbrock writes:
> Thanks for the quick and informative response! Is there a way to define
> a class with only one entry, which is not a list? Could that avoid the
> bug with "singleton lists"?
Just add cf_null[1] element at the end of the list, regards.
Footnotes:
[1] https://c
Jesse and Seva,
thank you for pointing out this problem. It was a simple typo (actually
failure to substitute some old code for new) that resulted in this
deficiency. Of course this should work. Latest SVN fixes this bug.
BTW - note that the classes alpha,beta etc are somewhat redundant in
your
Forum: Cfengine Help
Subject: Re: delete file .libs/ message
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,19417,19845#msg-19845
Why don't you copy the libraries to /var/cfengine/lib, then?
Use --prefix=/var/cfengine to make them automatically go there during make
install.
Well,
specifically for this example, the possibility to simplify is quite
straightforward:
> vars:
> any:: 'common' slist => { 'foo', 'quux', 'fubar' };
> alpha:: 'pkgs[alpha]' slist => { 'foo', 'bar', 'baz' };
> beta:: 'pkgs[beta]' slist => { @{common}, 'yipyip' };
> del
Yeah, I found a post (from you, I think) from a few months back that
said as much. Any ideas for more elegant workarounds?
As I said, I've got one, but it's ugly, and I'd like something a bit
more elegant and concise.
On Sat, Dec 18, 2010 at 02:45:20AM -0500, Seva Gluschenko wrote:
>Jesse,
>
>un