CFEngine Help: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf"

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf" Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22719,22727#msg-22727 Many thanks, Diego, for confirming that this is a bug. Thanks, too, for providing a workaround, which I hop

CFEngine Help: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf"

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf" Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22719,22728#msg-22728 I've just tried your workaround as a copy/paste of the two sections from your earlier link (and a rename of

CFEngine Help: associating lists of variables with files

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: associating lists of variables with files Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22729,22729#msg-22729 Given a set of similar files, and a list of different variables to be associated with each, how does one then construct a generalised

CFEngine Help: Re: associating lists of variables with files

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: associating lists of variables with files Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,22729,22730#msg-22730 David, you can achieve your goals using arrays: bundle my_bundle { vars: "file" string => "/path/to/fileA"; "file" str

Re: CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread Sven Hergenhahn
Hi, I'm still trying to get this to work: Goal ist to install or at least upgrade to subversion 1.6.x # /bin/rpm -q --qf '%{name} %{version} %{arch}\n' subversion subversion 1.4.2 x86_64 bundle agent packagesClient { packages: "subversion" package_policy => "addupdate", pack

need empty slist but cfengine doesn't like that

2011-07-05 Thread Ted Zlatanov
This is similar to https://cfengine.org/pipermail/help-cfengine/2010-August/009339.html but I really need an empty slist, I think. My syntax is: bundle agent x { vars: ... case1:: "slistA" slist => { }; "slistB" slits => { "case1 data" }; case2:: "slistA" slist => { "case2 data" }

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22694,22733#msg-22733 Sven, You're bumping into a couple problems: - current releases are subject to a bug in code that compares the version

CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Unable to 'make' CFE 3 on AIX (compiler errors) Author: maxmackie Link to topic: https://cfengine.com/forum/read.php?3,22734,22734#msg-22734 I successfully run the configuration script and proceed to make CFE: # make Making all in pub CC getopt.lo CC get

Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread Mikhail Gusarov
On 07/05/2011 03:10 PM, no-re...@cfengine.com wrote: > /usr/include/unistd.h:895: error: conflicting types for 'ftruncate64' > /usr/include/unistd.h:893: error: previous declaration of 'ftruncate64' was > here > /usr/include/unistd.h:952: error: conflicting types for 'truncate64' > /usr/include/u

CFEngine Help: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors) Author: maxmackie Link to topic: https://cfengine.com/forum/read.php?3,22735,22736#msg-22736 Reconfigured with --disable-largefile and configured successfully. Ran make and got an error, albeit a diffe

Re: CFEngine Help: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread Mikhail Gusarov
On 07/05/2011 03:28 PM, no-re...@cfengine.com wrote: > dbm_berkeley.c: In function 'BDB_OpenDB': > dbm_berkeley.c:63: error: too few arguments to function '(*dbp)->open' > make: 1254-004 The error code from the last command is 1. Are you building beta 1? This bug has been fixed in trunk since the

CFEngine Help: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors) Author: maxmackie Link to topic: https://cfengine.com/forum/read.php?3,22735,22738#msg-22738 I grabbed the 3.1.5 source instead and built from there. Configuring with --disable-largefile and running m

Re: CFEngine Help: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread Mikhail Gusarov
On 07/05/2011 03:50 PM, no-re...@cfengine.com wrote: > I have all the dependencies installed on the system, or else the > configuration script wouldn't succeed right? > I appreciate your help by the way This issue seems to stem from using AIX make, try using GNU Make instead. -- Mikhail Gusaro

CFEngine Help: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors)

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Unable to 'make' CFE 3 on AIX (compiler errors) Author: maxmackie Link to topic: https://cfengine.com/forum/read.php?3,22735,22740#msg-22740 Your suggestion to use gmake was right, it worked. However when running gmake install, I get a relatively sh

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,22694,22741#msg-22741 great! much better! I think I can finally proceed now. With subversion installed both i386 and x86_64, this upgrade fail

CFEngine Help: Re: Change the default interface in CFEngine configuration

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Change the default interface in CFEngine configuration Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22720,22742#msg-22742 CF2 is well depreciated. With the website changes I'm not even sure where the old documentation is. However you

CFEngine Help: Re: Change the default interface in CFEngine configuration

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Change the default interface in CFEngine configuration Author: Lulu Link to topic: https://cfengine.com/forum/read.php?3,22720,22743#msg-22743 Hello, thank you very much for your ansewer, I was looking in the reference manual (http://www.cfengine.org/manuals/cf2-

CFEngine Help: Re: need empty slist but cfengine doesn't like that

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: need empty slist but cfengine doesn't like that Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,22732,22744#msg-22744 I think to define an empty list you need to use the cf_null constant: http://cfengine.com/manuals/cf3-reference.html#Specia

CFEngine Help: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf"

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf" Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,22719,22745#msg-22745 "Bug" was perhaps too strong a word in my reply. I would call it a limitation of set_variable_values, that c

CFEngine Help: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf"

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: bug? or feature? "set_variable_values" in "cfengine_stdlib.cf" Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,22719,22746#msg-22746 Thanks, Diego. I'm new to cfengine3 and fixing bugs/features (although there's an ancient bugfix of mine ye