Re: /proc file sizes

2011-04-13 Thread Mark Burgess
You should run cf-monitord and then simply use $(mon.loadavg) variables (see ref manual) On 13/04/11 23:30, Frans Lawaetz wrote: > Hi, > > In executing the following bundle: > > bundle agent test { > > vars: > > "junkvar" int => readintarray("loadaverage","/proc/loadavg","^ "," >

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread Mikhail Gusarov
On 13.04.2011 16:40, no-re...@cfengine.com wrote: > A make error in AIX (5.2) also. It is hard to fix such problems without AIX available. Could you arrange an access to AIX machine for me? Off-list for sure. -- Mikhail Gusarov ___ Help-cfengine mail

Re: /proc file sizes

2011-04-13 Thread Mikhail Gusarov
On 13.04.2011 23:30, Frans Lawaetz wrote: > I'm thinking of filing this as a minor bug Please do. Empty array is a valid array. File size check could be done into another promise if anyone wants it. -- Mikhail Gusarov ___ Help-cfengine mailing list H

Cfengine Help: Re: copy file from A to B only if it is not present in C

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: copy file from A to B only if it is not present in C Author: erik Link to topic: https://cfengine.com/forum/read.php?3,21342,21461#msg-21461 thank you very much Neil, Im not sure if I can apply option 1, but you got me thinking more about this, I'll probably post

Re: packages / yum weirdness

2011-04-13 Thread Michael Stevens
Thanks for the tip, this hadn't occurred to me ... On Apr 13, 2011, at 2:14 PM, Frans Lawaetz wrote: > Michael, > > I don't have a cf3-specific tip for you but you might want to consider > yum's package groups. Look into yum-groups-manager. I have a base > package group with over a thousand

/proc file sizes

2011-04-13 Thread Frans Lawaetz
Hi, In executing the following bundle: bundle agent test { vars: "junkvar" int => readintarray("loadaverage","/proc/loadavg","^ "," ","2","99"); classes: "loadavgsafe" expression => islessthan("$(loadaverage[1])","1"); reports: loa

Re: packages / yum weirdness

2011-04-13 Thread Frans Lawaetz
Michael, I don't have a cf3-specific tip for you but you might want to consider yum's package groups. Look into yum-groups-manager. I have a base package group with over a thousand RPMs in it. I then have cf3 do a "yum clean all; yum groupinstall basegroup" when needed and it will add any p

cfengine 3.1.5b2

2011-04-13 Thread JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN
A couple of issues seen: sysinfo.c: line 807, variable "class" is not defined in scope processes_select.c: lin 391, "MIN" is not defined, fails to link at link time. Hope this info helps. Jim ___ Help-cfengine mailing list Help-cfengine@cfengine.org htt

packages / yum weirdness

2011-04-13 Thread Michael Stevens
I initially was using package_method "yum," which worked fine until my package list got too long ... looks like some buffer / cache fills up and breaks the process ( note "No package comp available." in the below, next item in list would be "compat-expat1" ); Q:yum -y install xymon ...:No packa

Cfengine Help: Re: Apple script in cfengine files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Apple script in cfengine files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,15697,21455#msg-21455 I do it sometimes with commands: stanza in Cfengine. commands: darwin:: "/path/myapplescript"; Cheers, --Nakarin

Cfengine Help: Re: promises not repaired and promises repaired reports

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: promises not repaired and promises repaired reports Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21451,21454#msg-21454 Many times that I grep for a word "Outcome" from a verbose log. If it is not 100% promises kept then I'd walk through

Cfengine Help: Re: promises not repaired and promises repaired reports

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: promises not repaired and promises repaired reports Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21451,21453#msg-21453 Nova has these reports build in. I think that with community you have to use report promises to know the status. _

Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21391,21452#msg-21452 Sorry Mark I left that out. The buffer error is RHEL 5, 64 bit. ___ Help-cfengine mailing list Help-cfen

Cfengine Help: promises not repaired and promises repaired reports

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: promises not repaired and promises repaired reports Author: bidwell Link to topic: https://cfengine.com/forum/read.php?3,21451,21451#msg-21451 Is there an nice way to get a list of the promises not repaired by a cf-agent run? Or a list of the promises repaired? Doe

Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21391,21450#msg-21450 What platform is giving the buffer ran out of space warning? ___ Help-cfengine mailing list Help-cfengine@cfengi

Cfengine Help: one kinds of kids jordan shoes

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: one kinds of kids jordan shoes Author: wuzinan Link to topic: https://cfengine.com/forum/read.php?3,21449,21449#msg-21449 jordan sneakers If you're in no hurry to leave, you will have the opportunity to enjoy the fact that each different type of shoes Air jordan you

Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21391,21448#msg-21448 A make error in AIX (5.2) also. In file included from cf.defs.h:210, from cf3.defs.h:36, from cf3lex.l:32: /usr/inc

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread Mikhail Gusarov
On 13.04.2011 15:24, no-re...@cfengine.com wrote: > I'm getting a make error when building on Solaris 10 for Sparc. I'm using > the same build script I've used since 3.0.2. Yep, this is regression on non-Linux systems -- fixed in r2053. -- Mikhail Gusarov

Cfengine Help: Re: Cfengine in system configuration files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in system configuration files Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21441,21446#msg-21446 Editing promises perform the edit in RAM during each invocation of cf-agent. If the resulting file in RAM does not match the tar

Acceptance of key change from a client

2011-04-13 Thread Nicolas Charles
Hi, I had the impression that the news key naming convention would allow for "unique" identification of a machine. Thus it allows a machine to change its IP adress and still be able to communicate with its server. I though it would also allows to detect when a machine changes its keys, and thus

Cfengine Help: Re: Cfengine in system configuration files

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine in system configuration files Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21441,21443#msg-21443 I don't think we can have multiple edit_line attributes for a promiser like cfengine2. In cfengine3, you should either (1) separat

Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21391,21442#msg-21442 I'm getting a make error when building on Solaris 10 for Sparc. I'm using the same build script I've used since 3.0.2. -bash-3.2$ gmake Making all

Re: Cfengine in system configuration files

2011-04-13 Thread Eystein Måløy Stenberg
Hi Scott, Welcome to the world of Cfengine! Cfengine should not write a file unless the result of all operations on it makes it different to the current version of it. The verbose print just shows what is being done to construct an internal representation of it. To check that the file does not ge

Cfengine in system configuration files

2011-04-13 Thread Scott Dobner
Hi all, I just recently started using CFEngine 3 and was wondering what the best practice for constructing system configuration files (e.g., /etc/resolv.conf) is. Right now I am just adding and deleting lines from the file, but it seems to execute with every run of cf-execd. On the other hand,

Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21391,21440#msg-21440 I'm seeing multiple messages like this when the agent (3.1.5b2) is run: Internal limit: Buffer ran out of space constructing string (1336 > 992). __

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread Nicolas Charles
On 12/04/2011 18:31, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: 3.1.5 beta release > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,21391,21430#msg-21430 > > New beta tarball is available, as promised. > We've tested it on our test bench this morning.

Cfengine Help: timberland for sale

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: timberland for sale Author: timberland for sale Link to topic: https://cfengine.com/forum/read.php?3,21380,21436#msg-21436 n ounce of prevention is worth a pound of timberland mens shoes cure.An ox is taken by the horns, and the man by the tongue. Answer a fool accor

Cfengine Help: timberland for sale

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: timberland for sale Author: timberland for sale Link to topic: https://cfengine.com/forum/read.php?3,21391,21435#msg-21435 The tongue is not steel yet it cuts.The tongue of timberland 6-inch premium boots idle persons is never idle.The tortosis wins the race while th

Cfengine Help: timberland boots

2011-04-13 Thread no-reply
Forum: Cfengine Help Subject: timberland boots Author: timberland for sale Link to topic: https://cfengine.com/forum/read.php?3,21424,21434#msg-21434 The tongue is not steel yet it cuts.The tongue of timberland 6-inch premium boots idle persons is never idle.The tortosis wins the race while the h

Re: question about packages and package_select/package_verions

2011-04-13 Thread Bas van der Vlies
I want to know what the meaning is of package_select and package_version? i am a bit lost, eg: * cfengine 3.1.5-20 is installed on the host (debian) No i want to check if the installed version on my host is up to date if not install a new version, see bundle below. I have tried all operators

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-13 Thread Mikhail Gusarov
On 11.04.2011 16:59, Erik Mouw wrote: > No autogen.sh. I have tried autoreconf on an up-to-date RHEL5 machine, but > that complains > about missing files: > > src/Makefile.am: required file `./compile' not found > autoreconf: automake failed with exit status: 1 `autoreconf -fivs' for the referen