Re: cf-twin message in cf 3.0.4

2010-03-08 Thread Mark Burgess
To eliminate it just copy /var/cfengine/bin/cf-agent to /var/cfengine/bin/cf-twin. We should downgrade the error message. M Neil Watson wrote: > Greetings, > > I'm seeing this message > Proposed executable file "/var/cfengine/bin/cf-twin" doesn't exist > > What is this? I see some mention in

cf-twin message in cf 3.0.4

2010-03-08 Thread Neil Watson
Greetings, I'm seeing this message Proposed executable file "/var/cfengine/bin/cf-twin" doesn't exist What is this? I see some mention in the source. /home/neil/src/cfengine-3.0.4/src/exec.c: // twin is bin-twin\cf-agent.exe on windows, bin/cf-twin on Unix /home/neil/src/cfengine-3.0.4/src/e

RE: Is regextract in version 3.0.3?

2010-03-08 Thread Eric Black
I bit the bullet and upgraded since that seemed to be an extremely useful function - a lot less painful than I expected - it took less than an hour to upgrade 14 systems manually, probably would have been a few minutes if I could have figured out how to use cfengine to upgrade itself. Future pro

Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors.

2010-03-08 Thread Aleksey Tsalolikhin
I found the answer in the Cfengine reference manual -- thank you, Mark. cf-execd runs cfagent to handle the Cfengine 2 policies. (and cf-agent to handle Cfengine 3 policies.)There is a policy example for the encapsulation. Thanks! Aleksey ___ Help-

Re: Basic string replacement

2010-03-08 Thread Les Mikesell
On 3/8/2010 10:31 AM, Daniel V Klein wrote: > Les- > > I think you may have missed my core point. The issue is not library versus > you, or anything like that. A declarative language says "what will be", and > does not change what already satisfies that. Additionally, getting to the > stage of "

Re: Basic string replacement

2010-03-08 Thread Daniel V Klein
Les- I think you may have missed my core point. The issue is not library versus you, or anything like that. A declarative language says "what will be", and does not change what already satisfies that. Additionally, getting to the stage of "what you want" may take a few cycles. Just looking at

Re: How to run Cfengine 3 with Cfengine 2 policies? I get syntax errors.

2010-03-08 Thread NWatson
I think I see where Aleksey is going. Does cf-execd execute cf-agent and does cf-agent interpret cf2 syntax? Is this native or does it require an installed version of cf2 that cf-agent will use to parse and execute promises? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING T

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread NWatson
setting LD_LIBRARY_PATH worked. Thanks for the help. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intended re

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread Nakarin Phooripoom
Did you try to add a line /home/nwatson/cfengine/lib to /etc/ld.so.conf, run /sbin/ldconfig and re-configure? --Nakarin On Mar 8, 2010, at 3:53 PM, nwat...@symcor.com wrote: > Yeah, it's a copy and paste typo. > configure:17173: checking for BerkeleyDB location in > /home/nwatson/cfengine > co

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread NWatson
Yeah, it's a copy and paste typo. configure:17173: checking for BerkeleyDB location in /home/nwatson/cfengine configure:17343: result: /home/nwatson/cfengine configure:17401: checking Berkeley DB API configure:17442: gcc -o conftest -pthread -g -O2 -I/home/nwatson/cfengine/include -pthread-L/

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread Nakarin Phooripoom
On Mar 8, 2010, at 3:29 PM, nwat...@symcor.com wrote: > New information. When checking config.log I see: > configure:17173: checking for BerkeleyDB location in > /home/nwatson/cfengine > configure:17343: result: /home/nwatson/cfengine > configure:17401: checking Berkeley DB API > configure:1744

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread NWatson
New information. When checking config.log I see: configure:17173: checking for BerkeleyDB location in /home/nwatson/cfengine configure:17343: result: /home/nwatson/cfengine configure:17401: checking Berkeley DB API configure:17442: gcc -o conftest -pthread -g -O2 -I/home/nwatson/cfengine/include

Re: cfengine 3.0.4 first compile testing

2010-03-08 Thread NWatson
No change. The error persists :( Any other suggestions? Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or confidential information. If you are not the intende

Odd behaviour in 3.0.4 with set_variable_values

2010-03-08 Thread Steve Barnes
Hi List I'm seeing some confusing behaviour in 3.0.4 that wasn't occurring in 3.0.3. Consider the following 2 bundles, designed to populate 2 independent files with 2 fields of the form = : (note: target files are blanked before each test run.) bundle agent write_fileA { va

Re: Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Steve Barnes
Odd: [r...@mail ~]# wget http://ftp.osuosl.org/pub/cfengine/cfengine-2.2.10.tar.gz --2010-03-08 23:38:35-- http://ftp.osuosl.org/pub/cfengine/cfengine-2.2.10.tar.gz Resolving ftp.osuosl.org... 64.50.236.52 Connecting to ftp.osuosl.org|64.50.236.52|:80... connected. HTTP request sent, awaiting res

Re: Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Jan Muhammad
Thanks steve for the reply. I can download vai broswer on another machine from the same links but my commandline 'wget' can't get that. I get the following "Forbidden" error message: # wget http://ftp.osuosl.org/pub/cfengine/cfengine-2.2.10.tar.gz --2010-03-08 12:32:19--  http://ftp.osuosl.org

Re: Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Steve Barnes
The first link you provided to 2.2.8 is confirmed as 404 however, I'm able to download from both of the below links without problem? http://www.cfengine.org/tarballs/cfengine-2.2.8.tar.gz http://www.cfengine.org/tarballs/cfengine-2.2.10.tar.gz 3b90ff8bf2ec941cd33cfb65f5012f16 cfengine-2.2.10.tar

Cfengine 2.2.10 download with Commandline wget!

2010-03-08 Thread Jan Muhammad
Hi, I'm trying to download 'Cfengine-2.2.10' via wget from http://www.cfengine.org/downloads/cfengine-2.2.8.tar.gz  and http://www.cfengine.org/tarballs/cfengine-2.2.10.tar.gz. But wget fails to download it. Is there any way to download this version via commandline option(wget or ftp), as I do

Cfengine Help (Mailing list): Re: Iterations for convergence : vars do not iterate

2010-03-08 Thread forum
Forum: Cfengine Help (Mailing list) Subject: Re: Iterations for convergence : vars do not iterate Author: lefollfr Link to topic: https://cfengine.com/forum/read.php?3,7774,7809#msg-7809 Hello Mark, Done, issue 62, https://cfengine.com/bugtracker/view.php?id=62 Frederic