Re: CFEngine Help: Re: seek second thought

2012-01-11 Thread Nicolas Charles
As Diego does, I strongly suggest the second solution; it has been used by many users and is known to work well. If you only need to send "commands" to remote host, it the best solution Modifying automagically policies needs quite a lot of tests if you are using a home made solution, and is pro

CFEngine Help: Re: seek second thought

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: seek second thought Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24549,24550#msg-24550 I would strongly prefer the second method - that is what cf-runagent and its ability to define classes are for. Modifying policies automatically feels

seek second thought

2012-01-11 Thread Carl E. Ma
Hello, We have serverA as central cfengine policy server/application binary repository(200MB) and 100 clients(mixture of unix and window) to pull policy/binary from this central server. So far, this model is working fine. Now, we want to separate policy update from binary update. All clients sh

Re: CFEngine Help: error building cfengine 3.1.5 under AIX w/ IBM xlc compiler

2012-01-11 Thread Mikhail Gusarov
On 11.01.2012 22:49, no-re...@cfengine.com wrote: > I'm able to get past configure and compile a number of files, but eventually > the build fails when trying to link the cfengine executables. Anybody have > an idea how to work around this issue? See the errors below: Please try to compile ne

CFEngine Help: error building cfengine 3.1.5 under AIX w/ IBM xlc compiler

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: error building cfengine 3.1.5 under AIX w/ IBM xlc compiler Author: Jimbo Link to topic: https://cfengine.com/forum/read.php?3,24547,24547#msg-24547 Hi all, I'm trying to get a cfengine 3.1.5 RPM built under AIX 5.3 using the IBM xlc compiler version 9. I'm using t

Re: CFEngine Help: Re: Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread Mark Burgess
Hi there, there is a promise-repair log in /var/cfengine/cf_repair.log In the commercial version, this all gets integrated into the GUI reporting tool. M On 01/11/2012 02:17 PM, Kaiwang Chen wrote: > Great. Got some idea about reporting as asynchronous notification. I > am not used to the

CFEngine Help: Re: Fwd: CFEngine Help: insert line: bug ??

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: Fwd: CFEngine Help: insert line: bug ?? Author: stchesmeli Link to topic: https://cfengine.com/forum/read.php?3,24543,24545#msg-24545 Thanks for this complete awnser ;) In the same time i have found the reason and solution in the reference manuel: use "preserve_

Re: CFEngine Help: Re: Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread Kaiwang Chen
Great. Got some idea about reporting as asynchronous notification. I am not used to the terminology yet.. so when a promise is repaired, it keeps the promise; otherwise it fails to. What's the recommended way to get notified about the status? Is it proper to treat agents as failing to keep its prom

CFEngine Help: Re: insert line: bug ??

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: insert line: bug ?? Author: stchesmeli Link to topic: https://cfengine.com/forum/read.php?3,24539,24542#msg-24542 Yes, i've fond in documention too thanks! So i use "preserve_block" as insert_type and it solve my problem too. _

Fwd: CFEngine Help: insert line: bug ??

2012-01-11 Thread Daniel V. Klein
This is a "classic" mistake (that is, everyone makes it) so don't feel badly :-) The insert_lines promise really says "I promise that this line will be present in the file, and if it isn't, then I will insert it". So there are a few things going on here: 1) You said "insert a '{' if it is miss

CFEngine Help: Re: insert line: bug ??

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: insert line: bug ?? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,24539,24541#msg-24541 It is a convergent behaviour of CFEngine in general as it tries not to insert the same line many times from my understanding. You would possibly remov

CFEngine Help: Re: Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there any way to check configuration changeset is applied to managed hosts? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,24537,24540#msg-24540 You might need to run cf-agent in verbose mode (cf-agent --verbose) to see how great perce

CFEngine Help: insert line: bug ??

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: insert line: bug ?? Author: stchesmeli Link to topic: https://cfengine.com/forum/read.php?3,24539,24539#msg-24539 Hello all, i'm wondering if there is a bug in insert line let me explain I'm trying to build my dhcpd.conf with list of host and array of macs and i

CFEngine Help: Re: Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread no-reply
Forum: CFEngine Help Subject: Re: Is there any way to check configuration changeset is applied to managed hosts? Author: tjavo87 Link to topic: https://cfengine.com/forum/read.php?3,24537,24538#msg-24538 Kaiwang Chen Wrote: --- > Hello list memb

Is there any way to check configuration changeset is applied to managed hosts?

2012-01-11 Thread Kaiwang Chen
Hello list members, I am not sure whether it's the right way thinking in cfengine: is there any way to figure out configuration changeset is delivered to and applied to target hosts? In certain cases I would like to know when and whether it takes effect. Thanks, Kaiwang __