classes in cfengine 2.2.10

2009-12-07 Thread Daniel Bidwell
I have a class in a class file that is defined as: mail_servers = ( roonwit trumpkin ) When I run cfagent -bvq on roonwit I see the following: Purging private classes from context update - Deleting roonwit_andrews_edu - Deleting weekdays - Deleting x86_linux_servers

Non-interactive apt-get package installation

2009-12-07 Thread Robert Markula
Hi! For installing software packages I'm using this body: http://paste.debian.net/53424/> body package_method apt { package_changes => "bulk"; package_list_command => "/usr/bin/dpkg -l"; package_list_name_regex=> "ii\s+([^\s]+).*"; package_list_version_regex =>

Re: New special topics guides

2009-12-07 Thread Mark Burgess
Fixed, mea maxima culpa ... How many things can one man do wrong in a day? M Justin Lloyd wrote: > Mark, > > I'm looking forward to reading the new monitoring and reporting guide, > but the link appears to be broken. > > "Error: The requested address > '/inside/document/SpecialTopic_Reports.

wanring on ownership should have more details [bug?].

2009-12-07 Thread NWatson
When a file permissions/ownership promise is set to warn only Cf gives full information regarding permissions but does not detail what is wrong with ownership. See below. [r...@unxxhd01 inputs]# ls -l /tmp/foo -rw-r--r-- 1 root root 0 Dec 7 14:13 /tmp/foo !! File /tmp/foo is owned by [root],

Re: New special topics guides

2009-12-07 Thread Miklos Honti
Hi Mark, thanks for all these. It seems that the last one has different name / incorrect link. Error: The requested address '/inside/document/SpecialTopic_Reports.pdf' was not found on this server. Regards, Miklos On Sun, 06 Dec 2009 12:57:50 +0100 Mark Burgess wrote: > > Available

tidy deleting files when told to warn only.

2009-12-07 Thread NWatson
I have a promise that used tidy but in a warn only manner. In spite of this files are still being deleted. ## body common control { bundlesequence => { "test" }; } bundle common g{ vars: "masterfiles" string => "/var/cf-masterfiles"; "inputs" string

question about parametrized bundles

2009-12-07 Thread Grzegorz MarszaƂek
Hello! I'm new to cfengine and I'm trying to understand it's concepts. One thing I'd like to ask about are parametrized bundles. I can write in promises.cf something like this: body common control { bundlesequence => { addshare("share1"),addshare("share2") }; } bundle agent addshare(name) { re

Re: cf3 svn501 cf-serverd core dump

2009-12-07 Thread Mark Burgess
Perhaps you have access to some fancy tools, like purify, insight etc that might help debug this. It sounds like some kind of heap corruption. M Matt Richards wrote: > Well, I hate to say this, but I am still having this problem (svn 657 > now). However, I am getting closer. When cf-serverd core

Re: An Omen...

2009-12-07 Thread Matt Richards
Oh, I dare. I dare. On Mon, Dec 7, 2009 at 7:47 AM, Mark Burgess wrote: > > Cfengine patch level 666 -- download if you dare > > M > > -- > Mark Burgess > > - > Professor of Network and System Administration > Oslo University College, Norway > > Per

Re: cf3 svn501 cf-serverd core dump

2009-12-07 Thread Matt Richards
Well, I hate to say this, but I am still having this problem (svn 657 now). However, I am getting closer. When cf-serverd core dumps, I get a corresponding "Fatal cfengine error: memory failure" on the client. I am not sure which one dies first, but I am guessing the client (cf-agent). I don't unde

An Omen...

2009-12-07 Thread Mark Burgess
Cfengine patch level 666 -- download if you dare M -- Mark Burgess - Professor of Network and System Administration Oslo University College, Norway Personal Web: http://www.iu.hio.no/~mark Office Telf : +47 22453272 -