Re: cf3-quickstart still mentions BerkeleyDB as prereq?

2012-08-02 Thread Bas van der Vlies
Erland, There are Solaris packages available on: * http://www.opencsw.org/packages/CSWcfengine3utils regards -- * Bas van der Vliese-mail: b...@sara.nl * * SARA - Academic Computing Services

defaults: promises in 3.4.0 with slists

2012-08-02 Thread Ted Zlatanov
On Thu, 02 Aug 2012 09:18:02 -0400 Ted Zlatanov wrote: TZ> On Thu, 2 Aug 2012 00:22:35 -0500 Diego Zamboni wrote: >>> Yup. Perhaps it could be returned by splitstring() instead of { "" }? DZ> Bug report time, I guess :) TZ> I reported it: TZ> https://cfengine.com/bugtracker/view.php?id=127

meta promise type question

2012-08-02 Thread Ted Zlatanov
3.4.0 introduces meta: promise types. This example doesn't seem to DTRT. Is this a bug or am I missing something? Maybe the metadata for parameterized bundles has some other format? Thanks Ted body common control { bundlesequence => { "example" }; } bundle agent example { meta:

Re: cf3-quickstart still mentions BerkeleyDB as prereq?

2012-08-02 Thread Diego Zamboni
Erland, would you mind filing a bug report about this so it gets fixed? You can do that at http://cfengine.com/bugtracker/ Thanks, --Diego On Aug 2, 2012, at 4:47 PM, Erlend Leganger wrote: > Checking [1] for looking into how to compile cf3 v3.3/.xv3.4.x on > Solaris 10, I find "Prior to inst

Re: cf3-quickstart still mentions BerkeleyDB as prereq?

2012-08-02 Thread Glen Barber
On Thu, Aug 02, 2012 at 11:47:21PM +0200, Erlend Leganger wrote: > Checking [1] for looking into how to compile cf3 v3.3/.xv3.4.x on > Solaris 10, I find "Prior to installing CFEngine, you should first > ensure that the following packages are installed: > - OpenSSL - Open source Secure Sockets Laye

cf3-quickstart still mentions BerkeleyDB as prereq?

2012-08-02 Thread Erlend Leganger
Checking [1] for looking into how to compile cf3 v3.3/.xv3.4.x on Solaris 10, I find "Prior to installing CFEngine, you should first ensure that the following packages are installed: - OpenSSL - Open source Secure Sockets Layer for encryption. - BerkeleyDB (version 3.2 or later) - Lightweight flat-

CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: Define classes if a process is running or not Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26838,26873#msg-26873 loopx, in case you didnt see the conversation moved off this thread (byproduct of the mailing list integration) -> https:

CFEngine Help: Retro CF2 question about purge and ignore

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Retro CF2 question about purge and ignore Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,26872,26872#msg-26872 This CF2 question was presented to me today. If the purge option is set in a copy action, is the ignore clause supposed to preven

Problem with hostname in cfengine-community 3.3.5 hpux

2012-08-02 Thread Francoeur, Louis
Hi! I have some machine with hostname 10 char long. They get cut off at 8. I did add the -D_HPUX_API_LEVEL=20040821 to the compile options. This is on HP-UX 11.31 IA64 platform. The code is build with ./configure --with-qdbm --with-openssl --with-pcre Anything else to check? I have code that u

Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread Nick Anderson
On 08/02/2012 08:17 AM, Nick Anderson wrote: > Basically the promisee has not promised anything, so its ok. > If you add a process_count attribute to that promise body I think you > might start seeing the behaviour you were expecting or looking for. Here is an example. body common control {

Re: CFEngine Help: Re: splitstring("", " ", 100) returns slist { "" }

2012-08-02 Thread Ted Zlatanov
On Thu, 2 Aug 2012 00:22:35 -0500 Diego Zamboni wrote: >> Yup. Perhaps it could be returned by splitstring() instead of { "" }? DZ> Bug report time, I guess :) I reported it: https://cfengine.com/bugtracker/view.php?id=1273 Thanks! Ted ___ Help-cf

Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread Nick Anderson
On 08/02/2012 08:08 AM, Ted Zlatanov wrote: > Think, instead, in terms of convergence. So your class name should > indicate the convergent action, not the system state. When you name the > class "rhsmcertd_needs_start", that indicates clearly, to a reader, what > you're going to use it for. The

Re: CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread Ted Zlatanov
On Thu, 2 Aug 2012 13:51:07 +0200 (CEST) loopx wrote: n> This one is working fine : n> processes: n> redhat_6:: n> "rhsmcertd" n> #classes=> if_ok("rhsmcertd_running"), n>

CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26838,26865#msg-26865 This one is working fine : processes: redhat_6:: "rhsmcertd"

CFEngine Help: Re: Define classes if a process is running or not

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26838,26863#msg-26863 Hi, Using this : processes: redhat_6:: "rhsmcertd"

CFEngine Help: Re: CFEngine Help: Define classes if a process is running or not

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26839,26862#msg-26862 Hi, I will make some update to my code to try to avoid using the module and use only one class. _

CFEngine Help: Re: CFEngine Help: Define classes if a process is running or not

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Define classes if a process is running or not Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26842,26861#msg-26861 Yes, I think too it's a better idea to only have 1 class (set or unset) but not both ... Think positive ;)

CFEngine Help: Re: Dynamic inbuts based on classes set from usemodule.

2012-08-02 Thread no-reply
Forum: CFEngine Help Subject: Re: Dynamic inbuts based on classes set from usemodule. Author: loopx Link to topic: https://cfengine.com/forum/read.php?3,26668,26860#msg-26860 Sorry for that : RTFM :D Thanks ___ Help-cfengine mailing list Help-cfengine@