Re: How to remove packages not explicity whitelisted?

2010-10-27 Thread Seva Gluschenko
Aleksey, Such functionality have been asked already but not yet evaluated by Cfengine developers as worth implementing, AFAIR. 2010/10/28 Aleksey Tsalolikhin : > Does anybody have a recipe for, or would like to make one, for > removing packages not explicitly whitelisted? > > In other words, if w

How to remove packages not explicity whitelisted?

2010-10-27 Thread Aleksey Tsalolikhin
Does anybody have a recipe for, or would like to make one, for removing packages not explicitly whitelisted? In other words, if we provide a variable of type slist that contains a list of packages we expect to be present on the system, do the following: a) make sure all packages listed are instal

reports: linux:: " $(sys.interface) and $(sys.ipv4)"; returns 50% success rate - why not 100% ?

2010-10-27 Thread Aleksey Tsalolikhin
The following promise registers a 50% success rate. Why not 100%? Is there something I don't understand or is this a bug? Thanks, -at #!/var/cfengine/bin/cf-agent -Kf body common control { bundlesequence => { "test" }; } bundle agent test { reports: linux:: "My default interface and i

Re: Cfengine Help: Re: Multi-dimensional arrays

2010-10-27 Thread Daniel V. Klein
I guess that depends on what you mean by multidimensional arrays... :-) But this works: body common control { bundlesequence => { "test" }; nova_edition:: host_licenses_paid => "5"; } bundle agent test { vars: "a" string => "a"; "a[1]" string => "a sub 1"; "a[1][foo]" string => "a

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: dan5261415 Link to topic: https://cfengine.com/forum/read.php?3,18917,18926#msg-18926 If you were successful at building on AIX, I'm all ears. Unfortunately I've tried everything I can think of to get v3 to compile. For now

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: technoronin Link to topic: https://cfengine.com/forum/read.php?3,18917,18925#msg-18925 I'm still working on setting up cfengine on AIX as well. Following the tips from this forum, I have managed to get it to build. I was ha

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: dan5261415 Link to topic: https://cfengine.com/forum/read.php?3,18917,18924#msg-18924 Expected they might be old. this is the newest precompiled rpm binaries I could find from IBM

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18917,18923#msg-18923 Looking again, db and pcre are also very old. You might look closer at ./configure again to see if anything is amiss. Configures are not

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: dan5261415 Link to topic: https://cfengine.com/forum/read.php?3,18917,18922#msg-18922 Excellent point; unfortunately same error. I'm out of ideas; looks like I get the same exact error with v2 as well. __

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18917,18921#msg-18921 The other thing with legacy UNIX systems is to watch your paths. /opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/sbin

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: dan5261415 Link to topic: https://cfengine.com/forum/read.php?3,18917,18920#msg-18920 Thanks for your reply, I've now upgrade bison to bison-2.4.3-1 and still appear to have the same trouble. I saw that this had fixed someone

Cfengine Help: Re: Multi-dimensional arrays

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Multi-dimensional arrays Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,13991,18919#msg-18919 is this implemented? --- Igor ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.

Cfengine Help: Re: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18917,18918#msg-18918 Your version of bison is very old. I've been using v2.4+ ___ Help-cfengine mailing list Help-

Cfengine Help: compiling cfengine on AIX 6.1

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: compiling cfengine on AIX 6.1 Author: dan5261415 Link to topic: https://cfengine.com/forum/read.php?3,18917,18917#msg-18917 Having trouble compiling cfengine on AIX 6.1, installed required RPMs as well as used gnu forms of bison, flex tar and make. It looks like make

Cfengine Help: Re: latest cf-monitord memor usage

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: latest cf-monitord memor usage Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18826,18916#msg-18916 After much testing setting "-Wl,-bmaxdata:0x8000" in LDFLAGS did complete a build. Testing for cores now. Stay tuned.

Cfengine Help: Re: splitstring and nullbytes

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: splitstring and nullbytes Author: joke Link to topic: https://cfengine.com/forum/read.php?3,18907,18915#msg-18915 After a little bit of testing I think this is a bug. The input processing seems to have problems with null-bytes. Either the output of execresult is

Re: Cfengine Help: Read input files after update

2010-10-27 Thread Daniel V. Klein
Michael is certainly correct, but the other side of the answer is: why worry about it? Cfengine is designed to be convergent - if you make a change to your masterfiles, your inputs will be updated soon enough. If you're worried about testing your changes, then the better way to do it is have a

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18906,18913#msg-18913 That's what you use cfengine to check. You should not have to log onto machines ever again ;-) __

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18906,18912#msg-18912 Ok, thanks :-). Now I know how it works, and I think I know what to do. (But I for one am not going to log into hundreds of serve

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18906,18911#msg-18911 One possibility is: Cf-agent can restart execd after an update After a reboot, you use an init script to restart, Cfexecd will no

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18906,18910#msg-18910 It's true that cfengine is much easier to manage than cron. But who starts cf-execd if it stops running, unless cron does that? A

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18906,18909#msg-18909 Lars Cfengine is much easier to manage than cron. With cron you have to edit one file on every computer. With Cfengine you just e

Cfengine Help: Re: Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Read input files after update Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18906,18908#msg-18908 I see. I just thought that as I have no plans to send mails, (syslog I'm not sure of), and still need something like cron to mak

Cfengine Help: splitstring and nullbytes

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: splitstring and nullbytes Author: joke Link to topic: https://cfengine.com/forum/read.php?3,18907,18907#msg-18907 Sorry to bother again. But this time it's about splitstring and nullbytes. If I want to get a slist variable with a list of filenames I can use execresul

Re: Cfengine Help: Read input files after update

2010-10-27 Thread Michael Potter
Generally cf-execd executes cf-agent like this: cf-agent -f failsafe.cf && cf-agent - the effect being what you described. Of course you are free to change how cf-execd calls cf-agent, or maybe you dont use cf-execd at all... On Wed, Oct 27, 2010 at 11:11 PM, wrote: > Forum: Cfengine Help > Subj

Cfengine Help: Read input files after update

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Read input files after update Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18905,18905#msg-18905 Is there a way to tell Cfengine 3 to update input files from the master before reading them? Now I always need to run cfengine twice for the update

Cfengine Help: Re: How to list hard classes?

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: How to list hard classes? Author: Fransua Link to topic: https://cfengine.com/forum/read.php?3,18903,18904#msg-18904 OK. My problem is that I don't take care when I'm reading. SOLUTION: cf-promises -v ___ Help-cfengin

Cfengine Help: How to list hard classes?

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: How to list hard classes? Author: Fransua Link to topic: https://cfengine.com/forum/read.php?3,18903,18903#msg-18903 I'm newbie and I want to know all the hard classes that cfengine define. I don't see anywhere this list and I think that it's fundamental for beginnin

Cfengine Help: Re: Insert line when regexp does not match

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Insert line when regexp does not match Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18868,18902#msg-18902 I hope your ;-) means you misunderstood me correctly :-) But as my english isn't perfect, to be on the safe side... Yes the help is ve

Cfengine Help: Re: 3.0.5 source code released

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.0.5 source code released Author: sylvain Link to topic: https://cfengine.com/forum/read.php?3,17412,18901#msg-18901 Thank for the informations. I can confirm that the Release 3.0.5p1 fix the problem properly. Best regards, Sylvain Jubier. ___

Cfengine Help: Re: Insert line when regexp does not match

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Insert line when regexp does not match Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18868,18900#msg-18900 Is the help really that "odd"? ;-) I always thought it was rather good. :-) ___ Help-cfengin

Cfengine Help: Re: Insert line when regexp does not match

2010-10-27 Thread no-reply
Forum: Cfengine Help Subject: Re: Insert line when regexp does not match Author: Lars.O Link to topic: https://cfengine.com/forum/read.php?3,18868,18899#msg-18899 Yes, I've read it, and it's great. Too me there is still a gap between getting started and understanding and applying the details of t