Cfengine Help: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17539#msg-17539 Hello folks, Trying to perform the package update for Cfengine by cfengine itself, I wrote the following specification: bundle age

List expander and array --- cfengine 3.0.5

2010-06-18 Thread Lebel, Marco
Hello all, Since the advent of V3 I have been fighting with the list expander and array. So I have created a water down version of a script that I thought, base on my understanding, would work and I found myself having to come up with a work around to what I believe to be a bug. According to

Cfengine Help: Re: Instructions for building static cfengine 3 binaries on Linux?

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Instructions for building static cfengine 3 binaries on Linux? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17133,17541#msg-17541 Hi John, Did you make any progress on this? ___ Help-cfengin

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17539,17542#msg-17542 Perhaps: "name" string => "$(id)3"; ___ Help-cfengine mailing list Help-cfen

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17543#msg-17543 Ryan, I gave this a try on RHEL5, 64bit but no success. CFPCRE="Regex engine is the Perl Compatible Regular Expression library" P

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,17198,17544#msg-17544 I did a shot for Linux based on a howto from Jarle Bjorgeengen and I managed to create a cfengine 3 static binary successfully. Her

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17545#msg-17545 Neil, of course, I know I have such a variable. But I don't refer to it in package promise in any way. Is there any implicit usa

Cfengine Help: Re: Cfengine package update on CentOS5

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine package update on CentOS5 Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17539,17546#msg-17546 Predictably, I've renamed that variable to somewhat neutral "cf3" and that changed nothing.

Set class via package promise?

2010-06-18 Thread Jesse Becker
Is it possible to assert (or de-assert) a class based on a package promise? What I really want to do is check to see if a package is already installed, but not duplicate work by calling both a packages: action, and second returnszero() call. For example, I have this (and it works): <

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17548#msg-17548 For further verification did you try running cf-promises -x? I did and it segfaulted. $ ~/cfengine/bin/cf-promises -V This compr

Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Static cf3 binaries on Solaris & Linux Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17198,17549#msg-17549 For completeness here is the gdb back trace of the seg fault. Program received signal SIGSEGV, Segmentation fault. 0x2b03e

Cfengine Help: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: question on creating symlinks Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17550,17550#msg-17550 Howdy I’m running cfengine 3.0.4 and am trying to create a symlink from /root/.profile to /.profile and cant seem to get the syntax

Cfengine Help: Re: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: question on creating symlinks Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,17550,17551#msg-17551 Should this link => ln_s("/.profile"); be this link_from => ln_s("/.profile");? It has to match the body you are calling from your librar

Cfengine Help: Re: question on creating symlinks

2010-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: question on creating symlinks Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,17550,17552#msg-17552 Excellent. That worked.Thanks for the info. It makes sense now why it wasn't working before.

Re: Set class via package promise?

2010-06-18 Thread Mark Burgess
Yes this is possible. See promise_* cancel_* http://www.cfengine.org/manuals/cf3-reference.html#classes-in-_002a http://www.cfengine.org/manuals/CfengineStdLibrary.html#body-classes-if_005frepaired Jesse Becker wrote: > Is it possible to assert (or de-assert) a class based on a package > promi

Re: Cfengine Help: Re: Static cf3 binaries on Solaris & Linux

2010-06-18 Thread Mark Burgess
Looks like an error in name config. Order error in nsswitch.conf? I've seen that before. The segfault is in the C lib not cfengine. no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Static cf3 binaries on Solaris & Linux > Author: neilhwatson > Link to topic: https://cfengine.co