CFEngine Help: Darwin/OS X: cf-execd log entries

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Darwin/OS X: cf-execd log entries Author: bernhard.gl...@ecologic.eu Link to topic: https://cfengine.com/forum/read.php?3,27331,27331#msg-27331 Hi all, on my darwin systems I can't get rid of this annoying log entries each time cf-execd is calling the cf-agent:

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: cfengine2o12 Link to topic: https://cfengine.com/forum/read.php?3,27200,27334#msg-27334 I tried with qdbm depot. However i'm using cfengie tar ball for 3.3.4 and configure use

Registration is open for intensive CFEngine 3 training in Palo Alto in October

2012-09-13 Thread Aleksey Tsalolikhin
Hello, We still have a few spots available in our upcoming CFEngine 3 training in October in Palo Alto. This intensive four day course builds a solid foundation for understanding and using CFEngine 3. Student succeses from my training: The balance between theoretical and practical knowled

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27200,27335#msg-27335 I've given you a step by step process that is tested and known to work - but you choose not to

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: cfengine2o12 Link to topic: https://cfengine.com/forum/read.php?3,27200,27337#msg-27337 Hi Beto, Sorry.. I have tried that already..i have choosed ./configure option after ge

CFEngine Help: Convert soft class name to variable

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Convert soft class name to variable Author: davinken Link to topic: https://cfengine.com/forum/read.php?3,27338,27338#msg-27338 Is there any workaround to get the soft-class that would reflect the architecture of my system, 64_bit or 32_bit assigned to a variable ?

CFEngine Help: Re: Convert soft class name to variable

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Convert soft class name to variable Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27338,27339#msg-27339 Already exists. See sys.vars http://cfengine.com/manuals/cf3-Reference#Variable-sys_002earch _

CFEngine Help: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Auto reloading of cf-execd and cf-serverd after policy change Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27340,27340#msg-27340 Hello, I want to reload cf-execd and cf-serverd automatically after policy change. After some googling I found

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27340,27341#msg-27341 If you run cf-serverd -vF you can see it reload policy very frequently. I agree that cf-execd is not like

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27340,27342#msg-27342 Is it safe to restart cf-execd from running cf-agent? Have you had any problems with broken policies that pr

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27340,27343#msg-27343 AFAIK cf-agent is free from cf-execd such that if you kill cf-execd cf-agent will continue. I have never

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,27340,27345#msg-27345 neilhwatson Wrote: --- > AFAIK cf-agent is free from cf-execd

CFEngine Help: Re: Namespace change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Namespace change Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,27302,27346#msg-27346 Is there a link somewhere with a little more context around this? I've not seen a lot of the design center discussions, but more controlled namespacing is s

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27340,27347#msg-27347 That I do not know. You could write a test policy to see if stdout is lost after cf-execd is killed.

CFEngine Help: Re: Namespace change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Namespace change Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27302,27348#msg-27348 Small discussion here. https://cfengine.com/forum/read.php?3,26394,26416#msg-26416 ___ Help-cfengine mailin

CFEngine Help: Re: Namespace change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Namespace change Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,27302,27349#msg-27349 sauer: name spaces are already in the documentation: https://cfengine.com/manuals/cf3-Reference#Name-spaces _

CFEngine Help: Re: Bootstrapping / Files copied

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Bootstrapping / Files copied Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,27314,27344#msg-27344 All I put in the hard-coded "masterfiles" is a minimal failsafe.cf (and a promises.cf, which gets overwritten) that knows how to pull down the "r

CFEngine Help: log_* in action bodies created duplicate entries

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: log_* in action bodies created duplicate entries Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,27350,27350#msg-27350 Consider this: body common control { bundlesequence => { "test" }; inputs => { "cfengine_stdlib.cf" }; } bundle agent test

Re: CFEngine Help: Darwin/OS X: cf-execd log entries

2012-09-13 Thread Ted Zlatanov
On Thu, 13 Sep 2012 09:23:18 +0200 (CEST) bernhard.gl...@ecologic.eu wrote: b> on my darwin systems I can't get rid of this annoying log entries each time cf-execd is calling the cf-agent: b> dnssd_clientstub write_all: SO_ISDEFUNCT failed 38 Socket operation on non-socket b> anybody an

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27200,27351#msg-27351 You need to install automake, gmake and all of their run-time dependencies from the Porting and

Re: CFEngine Help: Re: Why it's necessary to restart defined service one time.

2012-09-13 Thread Ted Zlatanov
On Wed, 5 Sep 2012 20:28:49 +0200 (CEST) juriskrumins wrote: j> mikesphar Wrote: >> I believe that is a violation of the Linux >> Standard Base specifications. j> 100% agree. But it's obvious we're not in an ideal world. So violation/bugs happens. "In theory, theory and practice are the sam

Re: CFEngine Help: Re: passing lists to external body parts

2012-09-13 Thread Ted Zlatanov
On Mon, 10 Sep 2012 22:22:30 +0200 (CEST) sauer wrote: > as long as we're wishing for anonymous structures. :) Design Center (through cf-sketch) attempts to alleviate this problem by feeding a unique prefix to the sketch "entry point" bundle, and prefixing every variable with it. Thus you can c

CFEngine Help: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31..... cfengine-3.2.4

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: configure:14448: error: Cannot find OpenSSL on HP-UX 11.31. cfengine-3.2.4 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,27200,27355#msg-27355 You'll also need gmake from the Portuing and Archive Centre. It's listed on the PAC as "make".

Re: CFEngine Help: Policy distribution

2012-09-13 Thread Ted Zlatanov
On Sat, 1 Sep 2012 11:08:13 +0200 (CEST) mpr wrote: > Currently our policy is kept in git and distributed using > cf-serverd. Since we already have public/private key authentication > for git why not use git to distribute the files instead of cf-serverd > (running "git pull" from update.cf)? Any

Re: CFEngine Help: Re: List element extraction fails

2012-09-13 Thread Ted Zlatanov
On Fri, 31 Aug 2012 20:00:22 +0200 (CEST) neilhwatson wrote: > AFAIK it is not possible to call out a single element in a list. I don't endorse it, but I've heard you can use a file with grep/head/tail to do this ;) Ted ___ Help-cfengine mailing list

Re: CFEngine Help: Policy distribution

2012-09-13 Thread Nick Anderson
On 09/13/2012 02:38 PM, Ted Zlatanov wrote: > As Nick mentioned, VCS::vcs_mirror in Design Center addresses this. There is a git_failsafe.cf or something similar in contrib that Ted has been working on. I haven't tried it out. I have just inlined the vcs_mirror sketch to failsafe.cf manually.

CFEngine Help: Re: Auto reloading of cf-execd and cf-serverd after policy change

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Auto reloading of cf-execd and cf-serverd after policy change Author: aleksey_c Link to topic: https://cfengine.com/forum/read.php?3,27340,27357#msg-27357 Can someone explain the purpose of the following patch https://github.com/cfengine/core/pull/21? The descrip

Re: CFEngine Help: Policy distribution

2012-09-13 Thread Ted Zlatanov
On Thu, 13 Sep 2012 14:43:47 -0500 Nick Anderson wrote: NA> On 09/13/2012 02:38 PM, Ted Zlatanov wrote: >> As Nick mentioned, VCS::vcs_mirror in Design Center addresses this. NA> There is a git_failsafe.cf or something similar in contrib that Ted has NA> been working on. I haven't tried it out

CFEngine Help: Re: Convert soft class name to variable

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Convert soft class name to variable Author: davinken Link to topic: https://cfengine.com/forum/read.php?3,27338,27361#msg-27361 This implied some renaming/copying in the file server, but did the job well. (Those files are being also distributed by a concurrent C

Shellcommands get SIGTERM'ed. ExpireAfter not working.

2012-09-13 Thread Sander Smeenk
Hi! I'm running CFEngine2 (2.2.10-4build2, Ubuntu Precise). I have this server which boots from PXE. There's foo to bootstrap it, then a cron-job runs a shell scripted for-loop: | for i in 1 2 3 4 5 | do | /usr/sbin/cfagent -qKvf cfagent.conf >>/var/log/pxeboot.log 2>&1 | sleep 5 | done

editing iptables under Linux.... tested on CentOS 5... can somebody give it a whirl, please?

2012-09-13 Thread Aleksey Tsalolikhin
Hi. I'd like to contribute the following to the COPBL. Could somebody try it out for me please and let me know if you run into any issues? # # add_to_iptables_ACL is used to edit Linux iptables config files. # #

Re: editing iptables under Linux.... tested on CentOS 5... can somebody give it a whirl, please?

2012-09-13 Thread Diego Zamboni
Hi Aleksey, Thank you very much for the contribution! I think this might be a better fit for the Design Center than to the COPBL, given that it performs a specific, higher-level task (rather than a generic, lower-level task, which is what we try to keep in the stdlib). We are in the process of

CFEngine Help: Re: Darwin/OS X: cf-execd log entries

2012-09-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Darwin/OS X: cf-execd log entries Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,27331,27367#msg-27367 Hi, I have never seen this message on my Mac (currently running Nova 2.2.2). Which version are you using? --Diego