From MAILER-DAEMON Sat Mar 01 10:27:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p8tj-0004mf-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 10:27:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p8tT-0004aQ-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p8tQ-0004Yw-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:17 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p8s7-0004JK-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:25:55 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout06.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB200A51TJ69E@mtaout06.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:25:54 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p8s5-0005dQ-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 10:25:53 -0500
Date: Sat, 01 Mar 2003 10:25:52 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200302281059.h1SAxVTv011750@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87heanqfb3.fsf@myrealbox.com>
Organization: The GNU Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
Mail-Host-Address: gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 35
References: <200302281059.h1SAxVTv011750@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 15:27:34 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> Now I know that you are insane.

:-)  isn't that a feature?

> IRC is even more time consuming than mail.

Well, I was just offering options, I personally prefer e-mail due to
the asynchronous nature of it.


> BTW - the mailing list started moderating messages and I don't know
> why.  I have said that I don't want this...we'll see what happens
> now.

If it asked you to moderate my message is probably because you
subscribed <hgayosso@gnu.org> instead of <hugo@gnu.org>, I will send
this message as 'hgayosso', if it started to moderate the messages of
everybody else, let me know and I can go and take a look at the
setting of the mailing list and fix it.

Greetings,
- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YNEAMNObVRBZveYRAr69AJ0XoU1gGQq57gUgFeLmQfwQ18AEcQCdEVKM
9Wx7vnKnMiIxhaAMSThjjJE=
=5j0T
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 10:27:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p8tl-0004nS-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 10:27:37 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p8tj-0004mY-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p8th-0004lg-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:34 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p8tg-0004kr-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:33 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout01.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HB200LGSTLWBN@mtaout01.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:27:32 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p8tg-0005dj-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 10:27:32 -0500
Date: Sat, 01 Mar 2003 10:27:31 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: 
 <DB52A7625347D211A1D70060B06AB1E205E70B66@exchange.cle.lionbioscience.com>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87bs0vqf8c.fsf@myrealbox.com>
Organization: The GNU Project
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
Mail-Host-Address: gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 22
References: 
 <DB52A7625347D211A1D70060B06AB1E205E70B66@exchange.cle.lionbioscience.com>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 15:27:35 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Andrews, Martin" <mandrews@cle.lionbioscience.com> writes:

> While I have never really "got" IRC I think Hugo was proposing IRC
> as a middle ground between a physical meeting and email. Not as a
> replacement for the mailing list in general.

[...]

Bingo!

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YNFjMNObVRBZveYRAo2HAJ0Vgmd8uurA6Ukfg39ZtbDlLbgtCACggnjl
syOIOTxpmxFhvYKNTuUfCoU=
=3cyO
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 10:59:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p9OQ-0005B7-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 10:59:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p9OO-0005AS-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:59:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p9OK-00052x-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:59:15 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p9OK-00052A-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:59:12 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout07.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB200MW2V29IT@mtaout07.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 10:58:57 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p9O5-0005gK-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 10:58:57 -0500
Date: Sat, 01 Mar 2003 10:58:56 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <20030228125244.GC9080@wompom>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87smu7oz7j.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 73
References: <200302271917.h1RJHoTv028258@nexus.iu.hio.no>
 <20030228125244.GC9080@wompom>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 15:59:16 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Stribblehill <ads@debian.org> writes:

> Exploring the workshop model: it'd be good to know roughly where
> developers live.

Michigan, USA.

> I'd like to extend cfenvd in some manner, to allow it to hear state
> information from other related hosts, and give a more configurable
> set of things it watches out for. For example, disk usage on more
> than just the root partition, user-defined port watching.

I also have some thoughts regarding either 'cfenvd' or a different
monitoring mechanism or both.

** Improve the monitoring capabilities

Expand the range of parameters that cfenvd monitors, and an easy way
to configure/enable/disable the monitoring of each parameter.

Or, by creating a set of "plug-ins" that are run by 'cfagent' or
'cfexecd' (e.g. check_memory, check_swap, etc.).

In other words I would like to get rid of the need for a central
monitoring software (e.g. Netsaint, now Nagios) to check the status of
some services/hosts.

This has other consequences like the need of a way to find out if all
of the machines in a certain group are alive, by removing the
centralized monitoring system, you need a method by which the machines
check if their peers are alive and if cfengine is working.  Now if one
my machines dies or loses connectivity, Netsaint sends me an email,
how would I do this if I only ran 'cfengine'?, I have thought of
something but I haven't implemented it.

*** Are you ok? (heartbeat)

In order to solve the problem I described above I thought that the
machines could ask each other "are you ok?" maybe partition the entire
group of machines into subgroups, and use an algorithm so we don't
create a storm of "are you ok?" queries all over the network, only the
minimal that is needed to find out if EVERY machine is up and ok, that
if developed well, that algorithm could reduce the amount of network
traffic compared to the traffic generated by having a single central
monitoring system.


> > Anything else is open to discussion.
> 
> In the past few weeks, when users have said, "Can I do this", I've
> replied, "No but here's a patch to let you do it." I'm not sure this
> is the best way to manage the inclusion of features. How do we want
> to do it without formalising the process too much?

Maybe setting up a RFC (Request for Comments) where the developer
donating the feature sends an email describing it (with code if
possible) and then if there are no opposing comments go ahead and
implement it in the development branch, which still could be rejected
before releasing by Mark.

Greetings,
- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YNi/MNObVRBZveYRAoMcAJ4//hDF45VvU8YbzJ8uAuXOTs20zgCeM0ku
KuaSoZKwnlkm4xatCUPEXJ0=
=rEcH
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 11:03:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p9Sm-0003w8-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 11:03:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p9Sk-0003rz-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:03:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p9Si-0003py-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:03:45 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p9Sh-0003pA-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:03:43 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout06.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB200APBVA7SD@mtaout06.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:03:43 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p9Sh-0005kd-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 11:03:43 -0500
Date: Sat, 01 Mar 2003 11:03:42 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <Pine.GSO.4.51.0302280926350.5674@pixie>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87n0kfoyzl.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 34
References: <200302271917.h1RJHoTv028258@nexus.iu.hio.no>
 <Pine.GSO.4.51.0302280926350.5674@pixie>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 16:03:46 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Luke A. Kanies" <luke@madstop.com> writes:

> >  - a workshop to kickstart development (where? when?)
> 
> I'm hesitant about this because it would probably be LISA at the earliest,
> and I would like to start work earlier than that.

Besides some of us might not be able to travel to the place chosen at
that time.

> >  - a purely e-mail discussion that converges quickly (like a good
> >  cfengine policy) to a concise plan
> 
> I also liked the earlier mention of IRC as a medium between email and a
> workshop.  We could possibly have short, periodic IRC meetings until we
> feel that we've reached stability in terms of the goals of the project and
> our progress towards those goals.

Those meetings should have a specific agenda so we can conclude into a
resolution not just dream away our wishes.


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YNneMNObVRBZveYRApcqAJ9JVzgQ37JcQiY1AdjQsYaQZJY30ACeP8m2
dL/17EyIuUQfUkPD1v6vqWc=
=m9Qf
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 11:21:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p9kJ-0005Z0-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 11:21:55 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p9jb-0005El-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:21:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p9jS-0005Dw-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:21:03 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p9hx-00056l-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:19:29 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout07.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB200MT7VYULL@mtaout07.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:18:30 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p9h0-0005ob-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 11:18:30 -0500
Date: Sat, 01 Mar 2003 11:18:29 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200302281410.h1SEAZTv016817@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87heanoyay.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 62
References: <200302281410.h1SEAZTv016817@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 16:21:54 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> On 28 Feb, Andrew Stribblehill wrote:
> > Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-02-28
> > 01:09:41 GMT):
> >> Maybe a formal (but lightweight) proposol system - like python PEP:
> >> http://www.python.org/peps/
> > 
> > How about a quick email to -develop saying, "Hi, anyone mind if I
> > implement <feature>?", giving a quick example of usage.
> > 
> > Obviously, Mark's the final arbiter of what gets in, so I don't see
> > this as hurting.
> > 
> 
> 
> This sounds like the best approach. We can "referee" each other.

[...]

Maybe adopting a template/guidelines for those kind of emails will be
good so it is easier to read through all of them when you can't read
them real-time or for future reference.

Something simple like:

Subject: New Feature: cfengine will now brew coffee
Subject: Change: cfenvd command line options removed: -a -b -c


Then in the body, something simple too:

==========================================================
* Description
cfengine will now brew regular and decaf coffee when executing:

cfagent --brew-coffee  (regular)
cfagent --brew-decaf   (decaf)


* Files/functions/modules/docs/whatever affected
cfagent.c
brewing.c (New file)

* Code
(attached cfagent.patch and brewing.c)

==========================================================


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YN1VMNObVRBZveYRAnYAAJ0duhi6/4UxwJCqbCec1SymTvtyfgCeKReB
9hNyk0dHLyHfSjzhvUIAcgM=
=jTqp
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 11:23:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p9lf-0006CU-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 11:23:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p9k4-0005Ot-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:21:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p9ja-0005EY-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:21:10 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18p9iS-00058O-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:20:00 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout01.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HB200LLYW1BQD@mtaout01.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 01 Mar 2003 11:20:00 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18p9iR-0005ou-00	for <cfengine-develop@nongnu.org>; Sat,
 01 Mar 2003 11:19:59 -0500
Date: Sat, 01 Mar 2003 11:19:59 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200302281425.h1SEPFTv017100@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87bs0voy8g.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 29
References: <200302281425.h1SEPFTv017100@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 16:23:17 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> On 28 Feb, Andrews, Martin wrote:
> > I was thinking a little more (but not too much) - before Mark has
> > requested at least a "cfengine hint" documenting a new feature.
> > 
> > Mart
> > 
> 
> Yes., features should be documented before being implemented/patched
> so that the spec matches the doc.

[...]

Good point, that should be added to the "template" for the mail I
described before.

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YN2uMNObVRBZveYRAh+HAJ9ovkEEPegVfANOgrsAdLCR3TgD9QCeP8S2
xKOt4YhYGblu9dzuD8e6EUI=
=SUHd
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 01 14:26:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pCcy-0004ui-00
	for mharc-cfengine-develop@gnu.org; Sat, 01 Mar 2003 14:26:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pCXS-0003yf-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 14:20:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pCHV-0000i5-00
	for cfengine-develop@nongnu.org; Sat, 01 Mar 2003 14:04:37 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pCGh-0000RJ-00; Sat, 01 Mar 2003 14:03:31 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h21J2Kh10262;
	Sat, 1 Mar 2003 13:02:24 -0600 (CST)
Date: Sat, 1 Mar 2003 13:02:20 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-Reply-To: <87smu7oz7j.fsf@myrealbox.com>
Message-ID: <Pine.GSO.4.51.0303011213150.10171@pixie>
References: <200302271917.h1RJHoTv028258@nexus.iu.hio.no>
	<20030228125244.GC9080@wompom> <87smu7oz7j.fsf@myrealbox.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 19:26:15 -0000

On Sat, 1 Mar 2003, Hugo Gayosso wrote:

> I also have some thoughts regarding either 'cfenvd' or a different
> monitoring mechanism or both.
>
> ** Improve the monitoring capabilities
>
> Expand the range of parameters that cfenvd monitors, and an easy way
> to configure/enable/disable the monitoring of each parameter.

I always prefer lightweight services that support plugins.

> Or, by creating a set of "plug-ins" that are run by 'cfagent' or
> 'cfexecd' (e.g. check_memory, check_swap, etc.).
>
> In other words I would like to get rid of the need for a central
> monitoring software (e.g. Netsaint, now Nagios) to check the status of
> some services/hosts.
[SNIP]
> *** Are you ok? (heartbeat)
[SNIP]

I've been thinking about this a lot, and playing a bit with POE, which is
kind of a kernel written in perl. It is basically set up to pass events
around, and can also be used to pass them among machines.  I set up a
simple, example system which had a server listening somewhere, a script
polling my hosts, and then any number of listeners attached to the server.
The only listener I actually developed was an irc bot, and if a server
changed state (went up or down) then the bot printed a message on our
sysadmin irc channel.  Simple, but allowed me room to think about a lot
more stuff.

I like the idea of a constantly running cfagent, and rather than one that
works in passes, like now, I'd like one that set alarms on all work.  You
may want to check your process table every 5 minutes, because it's
lightweight and very important, but only check file permissions every
hour, because it takes more time and is less likely to cause service
outages.

So, each feature is built like a plugin, and each plugin supports an alarm
setting, with support for a default.  The cfagent starts by parsing all of
the config files, and probably running each plugin once.  Then, it sets
each plugin's alarm (including the plugin that updates cfagent's config),
and when that alarm goes off the plugin runs again.

Obviously, this would add the need to understand better how different
plugins depend on each other (if a plugin does a test which another plugin
needs to know the answer to) but I don't think that's insurmountable.

Okay, now you've got tons of information flowing, at all times, and you
always have these classes defined or variables set.

Now, you just provide the ability for another host to ask what those
classes are or what the variables are set to.  Similar to how perl uses
$package::variable, you could do something like $host::variable or
whatever; maybe ::: instead of ::, I don't know.

But you still need a way to figure out who's in charge of reporting if a
host is down.  That should be pretty easy:  whoever cares.  For services
other than infrastructure services (dns, ntp, etc.), most hosts are only
contacted by peers providing the same services and by downstream hosts who
require those services.  At the same time, most hosts again only contact
peers, and upstream servers providing required services.

So, you just have every host care about its peers (or some subset; if a
host has 100 peers, than that's a waste of effort) and upstream servers,
and pass any important events around when something changes.  All you need
is some designated collection hosts, which also must do event
deduplication (it's easier to deduplicate than to guarantee an event only
happens once, I believe), and some placement algorithm to make sure that
there's a collection host in every event pool.

And algorithms for determining how many hops an event should be passed
around, and then ways of figuring out which events should stay in the
local pool and which should be passed, and... and...

Yes, this is my pie-in-the-sky vision for where I want my infrastructure
tools, but we're at _least_ five years out on that, unless I can get
someone to hire 2-10 people to work on it full time.

In the meantime, I think that there are some solid, important upgrades we
can make to cfengine that will suffice until that pie-in-the-sky becomes a
reality.

> Maybe setting up a RFC (Request for Comments) where the developer
> donating the feature sends an email describing it (with code if
> possible) and then if there are no opposing comments go ahead and
> implement it in the development branch, which still could be rejected
> before releasing by Mark.

That works well once the basic structure is in place, but the ideas that I
have require some significant changes to the language, and I'm not sure
that they will be allowed.  I'm not going to write a 15,000 line patch all
on my own only to have it rejected because it doesn't fit the spirit of
whatever.  And I don't want to work piecemeal towards what I think is a
better tool; I think cfengine is at a tipping point, where its popularity
and functionality are beginning to collide, and unless it has some
significant reorganization, it's going to get a bad reputation because of
how complicated some operations are.

I'd like to work to fix those problems, but I think it involves
significant code refactoring and significant function redesign.  If we can
figure out if that's our goal first, then I will be happy.  From previous
conversations with Mark, I suspect that there is less interest in
significant change, and more interest in smaller, less fundamental change.

Do the rest of the people interested in cfengine development feel that
way, or, like me, do most people feel that some significant change is
necessary?

Luke

-- 
A Chemical Limerick:
        A mosquito cried out in pain:
        "A chemist has poisoned my brain!"
        The cause of his sorrow
        was para-dichlorodiphenyltrichloroethane
                -- Adam Bernard



From MAILER-DAEMON Sun Mar 02 17:51:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pcIt-0001Dd-00
	for mharc-cfengine-develop@gnu.org; Sun, 02 Mar 2003 17:51:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pcIq-00013M-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 17:51:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pcIk-0000kR-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 17:51:25 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pcIk-0000gM-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 17:51:22 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB5004D78TLXP@mtaout05.icomcast.net> for
	cfengine-develop@nongnu.org; Sun, 02 Mar 2003 17:51:21 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18pcIi-00010H-00	for <cfengine-develop@nongnu.org>; Sun,
 02 Mar 2003 17:51:20 -0500
Date: Sun, 02 Mar 2003 17:51:20 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87n0kde61j.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 39
References: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 02 Mar 2003 22:51:29 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> A general principle:
> 
>  Don't give users what they ask for, give them what they need.
> 
> Many "complaints" are just not thinking straight.

I have seen and experienced myself that sometimes the users ask for
something "silly" because they don't know the "cfengine way", one way
to solve this is to have examples available for the users so they can
see the "cfengine way" of doing things.

I think that was the idea behind the "hint directory", but I think we
should make it dynamic so more people can contribute to it and make it
easy to show the "cfengine way" of doing things.

I think we should use a web site using a collaboration software
(e.g. Wiki, Faq-o-Matic, etc) which accepts input from outsiders that
way we will not only have the configuration examples, but comments
about them, and possibly improvements for the example.

Some time in the future this could become a large library that will
help new users start implementing cfengine successfully because we
will lower the learning curve.

Greetings,
- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+YornMNObVRBZveYRAtmwAJ48qp9qKDLvxrJbxGE/3/VAgvRLTgCeLQ2j
RjByI5kc3IY39HoDPlG+508=
=pOUl
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Mar 02 18:07:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pcXf-00058a-00
	for mharc-cfengine-develop@gnu.org; Sun, 02 Mar 2003 18:06:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pcXM-0004vU-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 18:06:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pcX1-0004oq-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 18:06:08 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pcWq-0004mA-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 18:05:56 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout07.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB500JLU9FQVA@mtaout07.icomcast.net> for
	cfengine-develop@nongnu.org; Sun, 02 Mar 2003 18:04:38 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18pcVZ-00015E-00	for <cfengine-develop@nongnu.org>; Sun,
 02 Mar 2003 18:04:37 -0500
Date: Sun, 02 Mar 2003 18:04:37 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <Pine.GSO.4.51.0302281025510.5674@pixie>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87heale5fe.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 60
References: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
 <Pine.GSO.4.51.0302281025510.5674@pixie>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 02 Mar 2003 23:06:45 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Luke A. Kanies" <luke@madstop.com> writes:

> Design to stay within cfengine as much as possible; if we find that
> people are doing things like autogenerating cfengine code, we need
> to figure out why and address the design decisions that are forcing
> that.  I find it remarkable how many people generate cfengine code,
> and how many people consider cfengine a basic building block but
> wouldn't consider using it as their main framework.

I think this is a very important issue, but on the other hand in
cfengine's web page it says:

"Cfengine is designed to be a part of a computer immune system,"

which implies that it is a building block, not a framework, so maybe
the goal of cfengine should be something like this:

"cfengine is designed to be the framework for a compute immune
system".

Which would imply that if we want to build a compute immune system we
will have cfengine as the framework and other tools will provide help,
let's say use 'tripwire' for file system security/integrity, 'snort'
for intrusion detection, etc.

But we need to define what exactly we want cfengine to be, then start
working from there.


> > Many "complaints" are just not thinking straight.
> 
> I agree, but many complaints are also because cfengine makes certain types
> of operations far more difficult than they need to be.

Either more difficult or different, which I described in a previous
message as the "cfengine way".


> I think it would be very worthwhile for some of us to spend time
> combing the list archives and figure out what people consistently
> have to workaround, and then find ways to design those problems out.

I have had this same idea so I could provide some help there, but I
think we need to define exactly what is 'cfengine' or what we want it
to be as I asked a few paragraph before.


Greetings,
- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+Yo4FMNObVRBZveYRAvlyAKCEFUiFexWLGOigS092RyZnHlN+ZwCfdnuG
8p+6p1xXLsJs13aN454yUvo=
=i877
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sun Mar 02 19:04:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pdRB-0001Bi-00
	for mharc-cfengine-develop@gnu.org; Sun, 02 Mar 2003 19:04:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pdQD-0000Ga-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 19:03:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pdPz-00005a-00
	for cfengine-develop@nongnu.org; Sun, 02 Mar 2003 19:02:58 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pdPc-0008D7-00; Sun, 02 Mar 2003 19:02:32 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h2302U618115;
	Sun, 2 Mar 2003 18:02:31 -0600 (CST)
Date: Sun, 2 Mar 2003 18:02:30 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-Reply-To: <87heale5fe.fsf@myrealbox.com>
Message-ID: <Pine.GSO.4.51.0303021755190.16018@pixie>
References: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
 <Pine.GSO.4.51.0302281025510.5674@pixie> <87heale5fe.fsf@myrealbox.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 00:04:08 -0000

On Sun, 2 Mar 2003, Hugo Gayosso wrote:

> I think this is a very important issue, but on the other hand in
> cfengine's web page it says:
>
> "Cfengine is designed to be a part of a computer immune system,"
>
> which implies that it is a building block, not a framework, so maybe
> the goal of cfengine should be something like this:
>
> "cfengine is designed to be the framework for a compute immune
> system".
>
> Which would imply that if we want to build a compute immune system we
> will have cfengine as the framework and other tools will provide help,
> let's say use 'tripwire' for file system security/integrity, 'snort'
> for intrusion detection, etc.
>
> But we need to define what exactly we want cfengine to be, then start
> working from there.

I concur with this goal.  I have gotten the impression from many places
that cfengine was designed to be the main framework responsible for
maintaining a network, but if that is not the actual design goal then that
certainly changes my perspective of what we should attempt to accomplish
with cfengine.

Mark, can you speak on what your design goals are?  Should our first
conclusion be what role we specifically see cfengine playing?

For my part, I need such a framework, and I'd be just as happy with
cfengine filling that role as anything else.  Even more, though, cfengine
is by far the closest to fulfilling that role, and I'd like to push it
that extra bit.

> > > Many "complaints" are just not thinking straight.
> >
> > I agree, but many complaints are also because cfengine makes certain types
> > of operations far more difficult than they need to be.
>
> Either more difficult or different, which I described in a previous
> message as the "cfengine way".

Maybe, but if the complaints I'm thinking of don't fit into the cfengine
way, then I'm not going to be much help in development. :)

Let's see what the overall design goals are, and then what we think is a
reasonable progression to the next step towards reaching that goal.

> > I think it would be very worthwhile for some of us to spend time
> > combing the list archives and figure out what people consistently
> > have to workaround, and then find ways to design those problems out.
>
> I have had this same idea so I could provide some help there, but I
> think we need to define exactly what is 'cfengine' or what we want it
> to be as I asked a few paragraph before.

Do we just wait for Mark to speak up at this point?  Can we take an
unoffical poll?  Everyone, what role do you see cfengine as fulfilling in
your network?  Framework, tool, or somewhere in between?  Where is it now?

For me, I would like it to be a framework, but it's more of a tool right
now.

Luke

-- 
"I used to get high on life but lately I've built up a resistance."



From MAILER-DAEMON Mon Mar 03 03:12:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pl42-0008ML-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:12:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pl3y-0008HX-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:12:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pl3r-00086Y-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:12:38 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pl3i-0007Ry-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:12:26 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h238CEp10664
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 08:12:14 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h238C9T28824
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 08:12:09 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 3F8A5FF1F
	for <cfengine-develop@nongnu.org>;
	Mon,  3 Mar 2003 08:12:08 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18pl3Q-0002fx-00
	for <cfengine-develop@nongnu.org>; Mon, 03 Mar 2003 08:12:08 +0000
Date: Mon, 3 Mar 2003 08:12:08 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Development plan / meeting
Message-ID: <20030303081208.GE26235@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
	<87n0kde61j.fsf@myrealbox.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87n0kde61j.fsf@myrealbox.com>
X-Uptime: 08:07:51 up 12 days, 16:57,  9 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:12:44 -0000

Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-02 10:51:20 GMT):
> Mark Burgess <mark@iu.hio.no> writes:
> 
> > A general principle:
> > 
> >  Don't give users what they ask for, give them what they need.
> > 
> > Many "complaints" are just not thinking straight.
> 
> I have seen and experienced myself that sometimes the users ask for
> something "silly" because they don't know the "cfengine way", one way
> to solve this is to have examples available for the users so they can
> see the "cfengine way" of doing things.
> 
> I think that was the idea behind the "hint directory", but I think we
> should make it dynamic so more people can contribute to it and make it
> easy to show the "cfengine way" of doing things.
> 
> I think we should use a web site using a collaboration software
> (e.g. Wiki, Faq-o-Matic, etc) which accepts input from outsiders that
> way we will not only have the configuration examples, but comments
> about them, and possibly improvements for the example.

Wikis always seem to work to the lowest common denominator, in my
experience. However, having a place where any users can upload their
site configurations and experienced users annotate with supplementary
comments sounds useful.

> Some time in the future this could become a large library that will
> help new users start implementing cfengine successfully because we
> will lower the learning curve.

With Mark's new scoping system, hopefully this will be made much
less brittle.

-- 
WIGHT PORTLAND PLYMOUTH
SOUTHEAST VEERING SOUTHWEST, 4 OR 5, OCCASIONALLY 6. RAIN OR
DRIZZLE. GOOD BECOMING MODERATE, OCCASIONALLY POOR



From MAILER-DAEMON Mon Mar 03 03:17:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pl8c-0007aL-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:17:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pl8a-0007Yc-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:17:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pl8Y-0007YQ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:17:28 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pl8X-0007Oa-00; Mon, 03 Mar 2003 03:17:26 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238HGTv004680;
	Mon, 3 Mar 2003 09:17:20 +0100 (MET)
Message-Id: <200303030817.h238HGTv004680@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 09:17:15 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: hgayosso@gnu.org
In-Reply-To: <87n0kde61j.fsf@myrealbox.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:17:29 -0000

On  2 Mar, Hugo Gayosso wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark Burgess <mark@iu.hio.no> writes:
> 
>> A general principle:
>> 
>>  Don't give users what they ask for, give them what they need.
>> 
>> Many "complaints" are just not thinking straight.
> 
> I have seen and experienced myself that sometimes the users ask for
> something "silly" because they don't know the "cfengine way", one way
> to solve this is to have examples available for the users so they can
> see the "cfengine way" of doing things.
> 
> I think that was the idea behind the "hint directory", but I think we
> should make it dynamic so more people can contribute to it and make it
> easy to show the "cfengine way" of doing things.
> 
> I think we should use a web site using a collaboration software
> (e.g. Wiki, Faq-o-Matic, etc) which accepts input from outsiders that
> way we will not only have the configuration examples, but comments
> about them, and possibly improvements for the example.
> 
> Some time in the future this could become a large library that will
> help new users start implementing cfengine successfully because we
> will lower the learning curve.


There's that word again. Wiki? Don't know what that is, but the idea
sounds right. Why not go ahead and set something up.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 03:19:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plAX-0001GL-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:19:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plAV-0001Fr-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:19:27 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plAU-0001F7-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:19:27 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plAS-0001Ef-00; Mon, 03 Mar 2003 03:19:25 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238JHTv004765;
	Mon, 3 Mar 2003 09:19:21 +0100 (MET)
Message-Id: <200303030819.h238JHTv004765@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 09:19:16 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: hgayosso@gnu.org
In-Reply-To: <87heale5fe.fsf@myrealbox.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:19:28 -0000


> "Cfengine is designed to be a part of a computer immune system,"
> 
> which implies that it is a building block, not a framework, so maybe
> the goal of cfengine should be something like this: 
> "cfengine is designed to be the framework for a compute immune
> system".
> 
> Which would imply that if we want to build a compute immune system we
> will have cfengine as the framework and other tools will provide help,
> let's say use 'tripwire' for file system security/integrity, 'snort'
> for intrusion detection, etc.
> 
> But we need to define what exactly we want cfengine to be, then start
> working from there.
> 

Cfengine is a framework for part of a computer immune system.
No one knows what a computer immunesystem is -- so it would be silly
to say that cfengine is the last word. But it is still a framework
for management....??

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 03:27:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plFs-0003IZ-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:25:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plFq-0003HR-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:24:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plFo-0003Eo-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:24:58 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plFn-0002qd-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:24:55 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238NwTv004900;
	Mon, 3 Mar 2003 09:24:02 +0100 (MET)
Message-Id: <200303030824.h238NwTv004900@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 09:23:57 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303021755190.16018@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:24:59 -0000


> Mark, can you speak on what your design goals are?  Should our first
> conclusion be what role we specifically see cfengine playing?
> 

Cfengine should be as plug'n'play as possible, with as much flexibility
as possible. It shouldn't be for gratuitous monitoring -- it should keep
as quiet as a mouse and work as autonomously as possible.

See

http://www.cfengine.org/Cfengine2/1.html


>> > I think it would be very worthwhile for some of us to spend time
>> > combing the list archives and figure out what people consistently
>> > have to workaround, and then find ways to design those problems out.
>>
>> I have had this same idea so I could provide some help there, but I
>> think we need to define exactly what is 'cfengine' or what we want it
>> to be as I asked a few paragraph before.
> 
> Do we just wait for Mark to speak up at this point?  Can we take an
> unoffical poll?  Everyone, what role do you see cfengine as fulfilling
> in your network?  Framework, tool, or somewhere in between?  Where is
> it now?
> 
> For me, I would like it to be a framework, but it's more of a tool
> right now.

Luke, I don't understand you. In what way is cfengine NOT a framework?
What do you think is missing?

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 03:28:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plJY-0004ay-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:28:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plJW-0004YG-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:28:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plJS-0004Sh-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:28:44 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plBq-0001WQ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:20:50 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238KLTv004810;
	Mon, 3 Mar 2003 09:20:32 +0100 (MET)
Message-Id: <200303030820.h238KLTv004810@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 09:20:20 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303021755190.16018@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:28:47 -0000

On  2 Mar, Luke A. Kanies wrote:
> On Sun, 2 Mar 2003, Hugo Gayosso wrote:
> 
>> I think this is a very important issue, but on the other hand in
>> cfengine's web page it says:
>>
>> "Cfengine is designed to be a part of a computer immune system,"
>>
>> which implies that it is a building block, not a framework, so maybe
>> the goal of cfengine should be something like this:
>>
>> "cfengine is designed to be the framework for a compute immune
>> system".
>>
>> Which would imply that if we want to build a compute immune system we
>> will have cfengine as the framework and other tools will provide help,
>> let's say use 'tripwire' for file system security/integrity, 'snort'
>> for intrusion detection, etc.
>>


WHAT??????  Why on earth would you consider using tripwire for anything?
It doesn't do anything that cfengine doesn't already do "better".

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 03:32:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plN1-0001jn-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:32:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plMu-0001bV-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:32:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plMk-0001Q6-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:32:08 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plMa-0000wb-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:31:56 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238ViTv005221;
	Mon, 3 Mar 2003 09:31:48 +0100 (MET)
Message-Id: <200303030831.h238ViTv005221@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 09:31:43 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303021755190.16018@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:32:21 -0000

> Everyone, what role do you see cfengine as fulfilling
> in your network?  Framework, tool, or somewhere in between?  Where is
> it now?

Everything we do exccept package management (a common request on the
lists -- and something that Red Hat is looking at) is done in cfengine.

I think /bin/ls is a tool. Emacs is a tool.

I am not sure what is to be gained by saying that cfengine is not a
framework. Here's my bottom line.

  BIGGEST GOAL OF ALL:

     Cfengine should attack the problem of autonomous system
     administration, based on solid and innovative research.
     It should never just "go with the flow". If we don't know
     what is best, then we need to research it and find out,
     test it, simulate it, write lots of papers, whatever. IMO
     the worst programs out there (esp in sysadm) are those where
     the author begins "In my opinion..." and then they share with
     us their narrow vision.

     In cfengine now there are two types of feature:

     * well tested, well understood mechanisms with predictable
       properties.

     * Experimental parts (like cfenvd) that are "research in progress".

This is the way I want to continue. I loathe opinions. I want
predictable properties that can be combined flexibly, without making
things so difficult for the user that they lose interest in doing things
in the way that extensive research says is "best".

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 03:34:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plP9-0003R6-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:34:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plP5-0003MM-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:34:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plOs-0003Cy-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:34:19 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plOU-0002rK-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:33:54 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h238Xnp14089
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 08:33:49 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h238XjT01471
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 08:33:45 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id DDFDFFF1F
	for <cfengine-develop@nongnu.org>;
	Mon,  3 Mar 2003 08:33:44 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18plOK-0002k1-00
	for <cfengine-develop@nongnu.org>; Mon, 03 Mar 2003 08:33:44 +0000
Date: Mon, 3 Mar 2003 08:33:44 +0000
From: Andrew Stribblehill <ads@debian.org>
To: Cfengine Developers <cfengine-develop@nongnu.org>
Message-ID: <20030303083344.GG26235@wompom>
Mail-Followup-To: Cfengine Developers <cfengine-develop@nongnu.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn"
Content-Disposition: inline
X-Uptime: 08:27:00 up 12 days, 17:16,  9 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
Subject: [Cfengine-develop] Stable and development versions
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:34:34 -0000


--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'd like your opinions about Cfengine's development cycle.

At present, we have the situation where bug-fixes are mixed in with
new features in every stable release. I would love to see a stable
branch and a separate development one.

The situation we had in the early days of Cfengine 2 was pretty hard
on the users. Version 2 wasn't out of alpha-testing yet it was the
only one having bug fixes applied. Version 1 was known to be solid
but largely unsupported.

With more developers, can we do something to improve this? If not,
I'll be releasing periodic patches to fix up the current stable
Cfengine, whatever version it is, based on my Debian work and on
patches submitted to the mailing list.

--=20
ROCKALL
SOUTHERLY BECOMING SOUTHEASTERLY OR CYCLONIC 4 OR 5, INCREASING 6
OR 7 IN EAST FOR A TIME. SHOWERS THEN RAIN. GOOD BECOMING MODERATE,
OCCASIONALLY POOR

--bp/iNruPH9dso1Pn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+YxNocByyo9pgKCIRAgiEAJ9NhMQsmhMyTVbdJcXPu7k77EqdIACfTIjA
HH37uz1/o3nQV6m1GxejIao=
=6f/t
-----END PGP SIGNATURE-----

--bp/iNruPH9dso1Pn--



From MAILER-DAEMON Mon Mar 03 03:48:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18plcc-00007f-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 03:48:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18plcb-00007A-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:48:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18plcY-00006v-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:48:28 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18plcX-0008WT-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 03:48:26 -0500
Received: from nexus.iu.hio.no (localhost [IPv6:::1])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h238mNTu005566;
	Mon, 3 Mar 2003 09:48:23 +0100 (MET)
Received: (from mark@localhost)
	by nexus.iu.hio.no (8.12.6/8.12.2/Submit) id h238mN0s005564;
	Mon, 3 Mar 2003 09:48:23 +0100 (CET)
From: Mark Burgess <mark@iu.hio.no>
Message-Id: <200303030848.h238mN0s005564@nexus.iu.hio.no>
Subject: Re: [Cfengine-develop] Stable and development versions
To: ads@debian.org (Andrew Stribblehill)
Date: Mon, 3 Mar 2003 09:48:23 +0100 (MET)
In-Reply-To: <20030303083344.GG26235@wompom> from "Andrew Stribblehill" at Mar
	03, 2003 08:33:44 AM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by nexus.iu.hio.no id
	h238mNTu005566
cc: Cfengine Developers <cfengine-develop@nongnu.org>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 08:48:29 -0000

> I'd like your opinions about Cfengine's development cycle.
>=20
> At present, we have the situation where bug-fixes are mixed in with
> new features in every stable release. I would love to see a stable
> branch and a separate development one.

I do what I can manage. That's all I can offer.
=20
> The situation we had in the early days of Cfengine 2 was pretty hard
> on the users. Version 2 wasn't out of alpha-testing yet it was the
> only one having bug fixes applied. Version 1 was known to be solid
> but largely unsupported.

The alpha versions all came with a governement health warning.
Version 2.0.0 when released was pretty solid. There have only been
fairly esoteric problems with v2 - like multiprocessor bugs.
These are fixed now as far as I know.

> With more developers, can we do something to improve this? If not,
> I'll be releasing periodic patches to fix up the current stable
> Cfengine, whatever version it is, based on my Debian work and on
> patches submitted to the mailing list.

Sounds great, but one reason for starting this group is to shield myself
from some of this bug-fixing noise. I would like to see a split between

* patches that are bug fixes
* patches that are feature requests

The latter need much more attention than the former. They are not necessa=
rily
to be accepted.=20

I don't know what is a good way to do this. That is why I would like
for us to meet. What we are doing now is exactly what I was hoping
to avoid -- i.e. writing long emails that I have little time to read
carefully and then misunderstanding one another. Everything is so much ea=
sier
when we can look each other in the eye.

To get this process started, it is important to not let grand visions
get in the way of real progress. The stages I see are these:

 *=A0Remove as many limitations as possible without sacrificing compatibi=
lity
 * More radical redesign, with tidying-up of deprecated nonsense.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 06:33:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18poBT-0005R7-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 06:32:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18poAy-0004MJ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 06:32:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18po9b-0003Op-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 06:30:49 -0500
Received: from multatuli.ka.sara.nl ([145.100.6.4] helo=smtp.sara.nl)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18po9F-0002nJ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 06:30:21 -0500
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [Cfengine-develop] Development plan / meeting
Date: Mon, 3 Mar 2003 12:30:13 +0100
Message-ID: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfengine-develop] Development plan / meeting
thread-index: AcLelUlnkKfdqBE5T0+iLMdnEOb82wC3oZzA
From: "Bas van der Vlies" <basv@sara.nl>
To: <cfengine-develop@nongnu.org>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 11:32:37 -0000

After reading the mails. This are my answers and thoughts:
 - I Live in the Netherlands/Amsterdam.

 - Do you mean with kickstart the automatic installation of
   UNIX machines or just to automate the process of redhat
   installations? If it is only for redhat then is not that
   interested topic for me.

 - A Wiki setup would be nice.

 - Now we can check if processes are running but we can not
   test the functionality of a process. Look if the http=20
   daemon is working properly. I know i can do it with modules.
   Mabye we must setup a repository with monitor scripts for
   different kind of daemons.

 - If there is a major version upgrade, eg 2 --> 3. Then=20
   we must also maintain cfengine 2 for a while with patches.
   This was not the situation for version 1. So we had to
   lot of work for version 1.=20

 - If the parser/lexer is rewritten. We can remove a lot of code
   from cfengine. Like checking if we suppply the right keywords
   with the right values, eg: Now there are checks everywhere
   if we supplied a integer to a keyword. I personnaly think
   that this will make the cfengine source more readable,=20
   extendable and maintenable.


 - Looks like a good idea a pluging model for cfenvd. Just the
   way like the ganglia monitoring toolkit works.


-----Original Message-----
From: Mark.Burgess@iu.hio.no [mailto:Mark.Burgess@iu.hio.no]
Sent: donderdag 27 februari 2003 20:18
To: cfengine-develop@nongnu.org
Subject: [Cfengine-develop] Development plan / meeting



We need some kind of plan for getting started and coming to
an agreement about goals and timelines with cfengine.

Some projects are small, some are large, some lead to compatibility,
others sacrifice compatibility for excellence. I have some definite
goals for the future, and I am open to suggestions.=20

I would like to avoid too much email - I get enough already, and part
of the reason for delegating and enlisting help is to get away from
the computer. We have options:

 - a workshop to kickstart development (where? when?)
 - a purely e-mail discussion that converges quickly (like a
   good cfengine policy) to a concise plan


My broad goals with compatibility:

 * objects with scope (self-contained cfengine sub-routines)
    - cfengine 2.1.0, main problem is how to express this possiblity in =
the
      cfengine language, preserving convergence, even with recursion
   =20
 * a model for peer 2 peer policy exchange
    - cfengine 2.2.0, requires research and simulation

Goals abandoning compatibilty

 * Redesign/simplification of language and parser

Anything else is open to discussion.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




_______________________________________________
Cfengine-develop mailing list
Cfengine-develop@nongnu.org
http://mail.nongnu.org/mailman/listinfo/cfengine-develop



From MAILER-DAEMON Mon Mar 03 07:04:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18poeE-00042Q-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 07:02:22 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18poe8-0003yh-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 07:02:16 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18podD-0003ij-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 07:01:20 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18poXI-0002gj-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 06:55:12 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23Bt8Tv010307;
	Mon, 3 Mar 2003 12:55:12 +0100 (MET)
Message-Id: <200303031155.h23Bt8Tv010307@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 12:55:08 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: basv@sara.nl
In-Reply-To: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 12:02:21 -0000


> 
>  - If the parser/lexer is rewritten. We can remove a lot of code
>    from cfengine. Like checking if we suppply the right keywords
>    with the right values, eg: Now there are checks everywhere
>    if we supplied a integer to a keyword. I personnaly think
>    that this will make the cfengine source more readable, 
>    extendable and maintenable.
> 

I suggest that, along side the current cfengine development,
someone prototypes a "mockup" new parser, showing the
structure and grammar.

That can be incorporated at a later stage. It is such an important
thing to get right that we need a "toy model" before we can
do anything "for real".

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 07:43:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ppHU-000411-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 07:42:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ppHF-0003l1-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 07:42:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ppHD-0003gu-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 07:42:40 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ppH4-0003a4-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 07:42:30 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h23CgQp16514
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 12:42:26 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h23Cg1T28836
	for <cfengine-develop@nongnu.org>; Mon, 3 Mar 2003 12:42:01 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id B5658FF1F
	for <cfengine-develop@nongnu.org>;
	Mon,  3 Mar 2003 12:42:00 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18ppGa-0003m4-00
	for <cfengine-develop@nongnu.org>; Mon, 03 Mar 2003 12:42:00 +0000
Date: Mon, 3 Mar 2003 12:42:00 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Development plan / meeting
Message-ID: <20030303124200.GB11441@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
	<200303031155.h23Bt8Tv010307@nexus.iu.hio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200303031155.h23Bt8Tv010307@nexus.iu.hio.no>
X-Uptime: 12:36:32 up 12 days, 21:26, 11 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 12:42:54 -0000

Quoting Mark Burgess <mark@iu.hio.no> (2003-03-03 11:55:08 GMT):
> 
> Quoting Bas:
> >  - If the parser/lexer is rewritten. We can remove a lot of code
> >    from cfengine. Like checking if we suppply the right keywords
> >    with the right values, eg: Now there are checks everywhere
> >    if we supplied a integer to a keyword. I personnaly think
> >    that this will make the cfengine source more readable, 
> >    extendable and maintenable.
> > 
> 
> I suggest that, along side the current cfengine development,
> someone prototypes a "mockup" new parser, showing the
> structure and grammar.
> 
> That can be incorporated at a later stage. It is such an important
> thing to get right that we need a "toy model" before we can
> do anything "for real".

Forgive me if I get my terminology wrong -- I'm another of those
former physicists and never did any formal compiler work...

What are the types that we need to handle? Obviously, strings and
integers. Should permissions be a basic type? How about booleans? IP
ranges? Enums?

At present, we're parsing a lot as if it's a string, then at
work-time, checking to see if it makes sense. With some well-chosen
basic types we can move loads of checking to the parse stage and
simplify code.

-- 
MALIN HEBRIDES
SOUTHEAST VEERING SOUTHWEST 5 TO 7 OCCASIONALLY GALE 8. SHOWERS
THEN RAIN. GOOD, BECOMING MODERATE OR POOR



From MAILER-DAEMON Mon Mar 03 08:02:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ppa5-0005lc-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 08:02:09 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ppa0-0005d5-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:02:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ppZc-0005HA-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:01:45 -0500
Received: from multatuli.ka.sara.nl ([145.100.6.4] helo=smtp.sara.nl)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ppZW-0005Cw-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:01:34 -0500
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [Cfengine-develop] Development plan / meeting
Date: Mon, 3 Mar 2003 14:01:33 +0100
Message-ID: <BCBD56CACB85BF438D56A97E3122DC9A22D650@multatuli.ka.sara.nl>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfengine-develop] Development plan / meeting
thread-index: AcLhgnoVvzPo0qVjTpeGDgdbMI0AggAAajqw
From: "Bas van der Vlies" <basv@sara.nl>
To: "Cfengine-Develop (E-mail)" <cfengine-develop@nongnu.org>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 13:02:08 -0000


I will reply to the two messages.

> -----Original Message-----
> From: Andrew Stribblehill [mailto:ads@debian.org]
> Sent: maandag 3 maart 2003 13:42
> To: cfengine-develop@nongnu.org
> Subject: Re: [Cfengine-develop] Development plan / meeting
>=20
>=20
> Quoting Mark Burgess <mark@iu.hio.no> (2003-03-03 11:55:08 GMT):
> >=20
> > Quoting Bas:
> > >  - If the parser/lexer is rewritten. We can remove a lot of code
> > >    from cfengine. Like checking if we suppply the right keywords
> > >    with the right values, eg: Now there are checks everywhere
> > >    if we supplied a integer to a keyword. I personnaly think
> > >    that this will make the cfengine source more readable,=20
> > >    extendable and maintenable.
> > >=20
> >=20
> > I suggest that, along side the current cfengine development,
> > someone prototypes a "mockup" new parser, showing the
> > structure and grammar.
> >=20
> > That can be incorporated at a later stage. It is such an important
> > thing to get right that we need a "toy model" before we can
> > do anything "for real".
>=20
I agree. Shall we define a project for it?


> Forgive me if I get my terminology wrong -- I'm another of those
> former physicists and never did any formal compiler work...
>=20
> What are the types that we need to handle? Obviously, strings and
> integers. Should permissions be a basic type? How about booleans? IP
> ranges? Enums?
>=20
> At present, we're parsing a lot as if it's a string, then at
> work-time, checking to see if it makes sense. With some well-chosen
> basic types we can move loads of checking to the parse stage and
> simplify code.
>=20
> --=20

All those thing can be checked at parse time. So that we will reduce/
simplify the code.

>=20
> _______________________________________________
> Cfengine-develop mailing list
> Cfengine-develop@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/cfengine-develop
>=20



From MAILER-DAEMON Mon Mar 03 08:12:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ppjc-0004XJ-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 08:12:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ppjb-0004Wi-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:11:59 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ppjZ-0004WE-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:11:58 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pphL-0003q2-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 08:09:39 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23D9WTv012376;
	Mon, 3 Mar 2003 14:09:36 +0100 (MET)
Message-Id: <200303031309.h23D9WTv012376@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 14:09:32 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: ads@debian.org
In-Reply-To: <20030303124200.GB11441@wompom>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=iso-8859-1
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by nexus.iu.hio.no id
	h23D9WTv012376
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 13:11:59 -0000


> Forgive me if I get my terminology wrong -- I'm another of those
> former physicists and never did any formal compiler work...
>=20
> What are the types that we need to handle? Obviously, strings and
> integers. Should permissions be a basic type? How about booleans? IP
> ranges? Enums?
>=20
> At present, we're parsing a lot as if it's a string, then at
> work-time, checking to see if it makes sense. With some well-chosen
> basic types we can move loads of checking to the parse stage and
> simplify code.
>=20


This is part of what we have to answer in rewriting the parser.
It would be a mistake to think of cfengine as being anything like
C or Java or perl etc.

There is no "right way" of making a parser. Cfengine does not really
have many data types, but it does have

 "Quoted strings"
 /path/object

 { containers like editfiles=A0}

 options=3Dvalue

Part of the problem with the parser as it is now is that I started
defining different types "item" "pathname" etc and many of these
turned out to be redundant, thus there is duplicate code.

A separate project to work through this would be valuable and
might also help us to see how the language itself needs to
develop,

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 03 10:50:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18psCC-0003S2-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 10:49:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18psAL-0002ev-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 10:47:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ps6k-0001gk-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 10:44:03 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ps3a-0000ln-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 10:40:47 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h23FeSO21379;
	Mon, 3 Mar 2003 09:40:29 -0600 (CST)
Date: Mon, 3 Mar 2003 09:40:28 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-Reply-To: <200303030824.h238NwTv004900@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303030919360.21316@pixie>
References: <200303030824.h238NwTv004900@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 15:49:39 -0000

On Mon, 3 Mar 2003, Mark Burgess wrote:

> > Mark, can you speak on what your design goals are?  Should our first
> > conclusion be what role we specifically see cfengine playing?
> >
>
> Cfengine should be as plug'n'play as possible, with as much flexibility
> as possible. It shouldn't be for gratuitous monitoring -- it should keep
> as quiet as a mouse and work as autonomously as possible.

Hmm, I don't consider much monitoring to be "gratuitous".  It's pretty
important to me that all of my services are running correctly, and if I
can use a single framework to both configure and verify (which is
basically the same thing as monitoring) my services, why shouldn't I?  It
seems like less work, not more.

Is there anyone out there who isn't planning on implementing some kind of
monitoring?  You've got to have something; why not use cfengine for that,
since it seems a natural fit in terms of functionality?

And I certainly don't see how making the ability to monitor an explicit
part of cfengine's feature set makes it _less_ flexible and _less_
plug'n'play.  "If I've got dns configured, make sure it's always running."
"If I've got a host configured, make sure it checks in at least once every
hour."  That kind of stuff; it's all there, we just need some hooks to be
able to set up what's currently missing (which isn't actually much).

> See
>
> http://www.cfengine.org/Cfengine2/1.html

While I applaud simplicity, it's very much a qualitative goal.  It would
be possible to use cfengine without ever using variables, which one could
argue is more "simple", but that would make managing cfengine more
difficult, which I would argue makes it more complex.

Simplicity for whom?  The developer?  The administrator?  The computer?

I think the goal of any administrative system should be to have the
computer do the most work, then the developer, and to have the
administrator do the least work.

If everyone's going to have monitoring anyway (and they all should, even
if they don't), then wouldn't it be simpler for the administrator to have
that built into cfengine?

> > For me, I would like it to be a framework, but it's more of a tool
> > right now.
>
> Luke, I don't understand you. In what way is cfengine NOT a framework?
> What do you think is missing?

Well, like I've mentioned earlier, I see a lot of people generating
cfengine code, rather than working within cfengine.  My definition of
framework is basically that it sits above everything else, and if you're
generating your framework using another tool, then you've got something
sitting above your framework, which by my definition makes it not your
framework.

I understand that not everyone is generating cfengine code, and I expect,
Mark, that you are not generating it, but nonetheless, many people are.
Alva Couch has said many times that he considers cfengine to be not a
framework, but the bottom level of a configuration management system,
relying entirely on generated cfengine code, often times generated in
small increments at run-time.

What is it about cfengine that makes people have to generate cfengine code
instead of being able to work within cfengine?  In my opinion, it's most
of the things I've already mentioned:  The limited module support (I'd
like to be able to configure modules within cfengin syntax, rather than
just inside an 'actionsequence' declaration), the inconsistent and limited
iterative capabilities (loops seem to be the main control structure
missing from the core cfengine syntax), the lack of a list and/or hash
datatype, and just generally how difficult it is to separate _what_ one is
doing from _how_ one does it.

I could go into more detail, but others have pointed out that it would be
better to have a "where are we going" discussion before we have a "how do
we get there" discussion.

Luke

-- 
I have an answering machine in my car.  It says, "I'm home now. But
leave a message and I'll call when I'm out."  -- Stephen Wright



From MAILER-DAEMON Mon Mar 03 11:32:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18psrM-0000jL-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 11:32:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18psrK-0000gS-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:32:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18psrI-0000fp-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:32:09 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18psqd-0000Ll-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:31:27 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23GVJTv017346;
	Mon, 3 Mar 2003 17:31:23 +0100 (MET)
Message-Id: <200303031631.h23GVJTv017346@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 17:31:19 +0100 (MET)
From: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303030919360.21316@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 16:32:10 -0000

>> > Mark, can you speak on what your design goals are?  Should our first
>> > conclusion be what role we specifically see cfengine playing?
>> >
>> Cfengine should be as plug'n'play as possible, with as much flexibility
>> as possible. It shouldn't be for gratuitous monitoring -- it should keep
>> as quiet as a mouse and work as autonomously as possible.
> 
> Hmm, I don't consider much monitoring to be "gratuitous".  It's pretty
> important to me that all of my services are running correctly, and if I
> can use a single framework to both configure and verify (which is
> basically the same thing as monitoring) my services, why shouldn't I?  It
> seems like less work, not more.

Depends what you mean by monitoring. If you want a message on every run saying
 "Yes DNS is still running..."
You'll be insane within a few days. If you have 2000 hosts (as several cfengine
users do) you'll be insance within  a few minutes.
 
> Is there anyone out there who isn't planning on implementing some kind of
> monitoring?  You've got to have something; why not use cfengine for that,
> since it seems a natural fit in terms of functionality?

CFengine has plenty of functionality for monitoring -- but what do you
want to use it for? The idea behind cfengine is precisely to eliminate
the administrator from as much as possible. Keep quiet, and keep things
running..

> And I certainly don't see how making the ability to monitor an explicit
> part of cfengine's feature set makes it _less_ flexible and _less_
> plug'n'play.  "If I've got dns configured, make sure it's always running."
> "If I've got a host configured, make sure it checks in at least once every
> hour."  That kind of stuff; it's all there, we just need some hooks to be
> able to set up what's currently missing (which isn't actually much).

But this is already what happens, so I don't understand what you are saying.

> computer do the most work, then the developer, and to have the
> administrator do the least work.

Exactly, so why do you want to bombard the poor sysadm with messages?

>> Luke, I don't understand you. In what way is cfengine NOT a framework?
>> What do you think is missing?
> 
> Well, like I've mentioned earlier, I see a lot of people generating
> cfengine code, rather than working within cfengine.  My definition of
> framework is basically that it sits above everything else, and if you're
> generating your framework using another tool, then you've got something
> sitting above your framework, which by my definition makes it not your
> framework.

ok - there is always room for higher level stuff. Multilayered approaches
are always superior to flat models.
 
> I understand that not everyone is generating cfengine code, and I expect,
> Mark, that you are not generating it, but nonetheless, many people are.
> Alva Couch has said many times that he considers cfengine to be not a
> framework, but the bottom level of a configuration management system,
> relying entirely on generated cfengine code, often times generated in
> small increments at run-time.

Yes, that is not incorrect. You are just asking for even higher level
concepts.
 
> What is it about cfengine that makes people have to generate cfengine code
> instead of being able to work within cfengine?  

Now you've lost me again in rhetoric. How is coding in cfengine not working
with it? You just want menus -- you're a closet windows user!!!

> In my opinion, it's most
> of the things I've already mentioned:  The limited module support (I'd
> like to be able to configure modules within cfengin syntax, rather than
> just inside an 'actionsequence' declaration), the inconsistent and limited
> iterative capabilities (loops seem to be the main control structure
> missing from the core cfengine syntax), 

I agree - but these are low level, not high level...:)

> the lack of a list and/or hash
> datatype, and just generally how difficult it is to separate _what_ one is
> doing from _how_ one does it.

Don't know what a hash datatype means - you mean associative arrays?
All of these things require a modified language...long term goals

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





From MAILER-DAEMON Mon Mar 03 11:59:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ptHf-0003mq-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 11:59:23 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ptHb-0003hC-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:59:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ptHX-0003cl-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:59:17 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ptGC-0003Aa-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 11:57:53 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h23Gvlx21592;
	Mon, 3 Mar 2003 10:57:47 -0600 (CST)
Date: Mon, 3 Mar 2003 10:57:47 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Development plan / meeting
In-Reply-To: <200303031631.h23GVJTv017346@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303031033160.21532@pixie>
References: <200303031631.h23GVJTv017346@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 16:59:22 -0000

On Mon, 3 Mar 2003 Mark.Burgess@iu.hio.no wrote:

> Depends what you mean by monitoring. If you want a message on every run saying
>  "Yes DNS is still running..."
> You'll be insane within a few days. If you have 2000 hosts (as several cfengine
> users do) you'll be insance within  a few minutes.

That's reporting, not monitoring.  I didn't even mention reporting, and I
would certainly expect that the reporting would be separate from the
monitoring.  No monitoring system should report success unless
specifically asked to do so; it should only report failure.  As such, I
would certainly never expect cfengine w/monitoring to report that DNS is
working, unless I specifically stated it shouldn't be working. :)

> > Is there anyone out there who isn't planning on implementing some kind of
> > monitoring?  You've got to have something; why not use cfengine for that,
> > since it seems a natural fit in terms of functionality?
>
> CFengine has plenty of functionality for monitoring -- but what do you
> want to use it for? The idea behind cfengine is precisely to eliminate
> the administrator from as much as possible. Keep quiet, and keep things
> running..

Once again, this isn't about reporting, it's about monitoring.  I
mentioned a good example earlier:  Have cfservd report if a host which
normally reports every 30 minutes hasn't reported in X amount of time.
It's not that complicated of an operation, and would usually be
indication that either the host or cfengine on that host is broken.
There are many other simple examples, and again, like all good monitoring
systems, it would only notify of problems, not success.  And obviously,
you'd want some kind of hooks in there for non-email notifications; maybe
the ability to contact a central notification server or something, which
then decided on the notification method.

I actually think that functionality would be generically useful through
cfengine.  Email is an okay reporting mechanism, but at least most
enterprises have event collectors, and it'd be nice if cfengine had the
ability to dump its data into those collectors.

> > And I certainly don't see how making the ability to monitor an explicit
> > part of cfengine's feature set makes it _less_ flexible and _less_
> > plug'n'play.  "If I've got dns configured, make sure it's always running."
> > "If I've got a host configured, make sure it checks in at least once every
> > hour."  That kind of stuff; it's all there, we just need some hooks to be
> > able to set up what's currently missing (which isn't actually much).
>
> But this is already what happens, so I don't understand what you are saying.

Kind of; cfengine already checks process tables, but it can't tell me if a
process is hung.  It also can't tell me if a host (other than a cfengine
server) is down.  It can't tell me if a higher-level remote service has
failed (for instance, if load directors have failed but the local
processes are all fine).  There are lots of things that could be checked.

> > computer do the most work, then the developer, and to have the
> > administrator do the least work.
>
> Exactly, so why do you want to bombard the poor sysadm with messages?

Please don't interpret monitoring as being equivalent with reporting.

> > Well, like I've mentioned earlier, I see a lot of people generating
> > cfengine code, rather than working within cfengine.  My definition of
> > framework is basically that it sits above everything else, and if you're
> > generating your framework using another tool, then you've got something
> > sitting above your framework, which by my definition makes it not your
> > framework.
>
> ok - there is always room for higher level stuff. Multilayered approaches
> are always superior to flat models.

Right, there's always room, but the fact that so many people are using it
means that for those people, cfengine qualifies as a tool, not a
framework.  Is the goal of cfengine to be a tool or a framework?  If
framework, what about cfengine's current state is forcing people to use it
as a tool, rather than a framework?  If tool, then it's essentially up to
you as the maintainer to decide what features you do or don't want.

To me, these two questions are the most important in this discussion, and
you are the one who most needs to put a word in.

> > I understand that not everyone is generating cfengine code, and I expect,
> > Mark, that you are not generating it, but nonetheless, many people are.
> > Alva Couch has said many times that he considers cfengine to be not a
> > framework, but the bottom level of a configuration management system,
> > relying entirely on generated cfengine code, often times generated in
> > small increments at run-time.
>
> Yes, that is not incorrect. You are just asking for even higher level
> concepts.

Not really; you've already kind of got lists.  You've already kind of got
iteration.  You've already kind of got modules.  I'm just asking that all
of these be made explicit and much more usable.  If just those features
were added to cfengine, it would become infinitely more usable.  I, for
one, could likely begin using it as my main framework, rather than as a
tool.  As you mention below, these are not higher level concepts.

I think this discussion got sidetracked on the monitoring thing; if I had
better module support, it would be easy to add the kind of functionality I
want.  And even better, anyone could add it, and it could be shared.  I
envision plugins being distributed like perl modules, with a core
distribution and a CPAN-like repository with everything else.

> > What is it about cfengine that makes people have to generate cfengine code
> > instead of being able to work within cfengine?
>
> Now you've lost me again in rhetoric. How is coding in cfengine not working
> with it? You just want menus -- you're a closet windows user!!!

Um, no?  I'm sorry if this appears like rhetoric to you; I'm trying to
explain what I want out of cfengine, and provide examples as to why I
think others want the same.  I don't want menus, I want a real language,
with real datatypes and real control structures.  I want a generically
useful language which can stand on its own and not require higher-level
tools to make it usable.  I want to be able to do 98% of my work within
one framework, without having to constantly step outside that framework
for one reason or another.  I want the ability to easily add functionality
to my framework (in the form of modules, subroutine equivalents,
packages of functionality, etc.).

If these desires don't mesh with your goals, then that's fine; that's why
we're discussing it now.  I'm not even remotely interested in trying to
force you to make cfengine into something you don't want it to be; I've
explained what I want, now I just have to find out if cfengine will become
that language, or if I'll have to develop it myself.

And please leave the aspersions out of it; I'm trying my best to be
positive in this, and I'm trying to put the best light on what I want.
I'm especially trying to give you the respect you deserve for getting
cfengine to where it is.  But I'm obviously failing, if you think I'm
asking you to create a GUI for cfengine.

> > In my opinion, it's most of the things I've already mentioned:  The
> > limited module support (I'd like to be able to configure modules
> > within cfengin syntax, rather than just inside an 'actionsequence'
> > declaration), the inconsistent and limited iterative capabilities
> > (loops seem to be the main control structure missing from the core
> > cfengine syntax),
>
> I agree - but these are low level, not high level...:)

I don't think I ever asked for high-level functionality; most of what I
think is missing from cfengine is in the language itself, which is kind of
the definition of low-level.  Or another way of saying it, I can't add the
functionality I want in cfengine until these lower level capabilities are
added.

> Don't know what a hash datatype means - you mean associative arrays?
> All of these things require a modified language...long term goals

I guess only perl uses that term; yes, associative arrays.  Named so, I'm
sure you realize, because a hash function is used to associate their names
and values.  I use them probably 10:1 over arrays in perl, and would love
to have them in cfengine; they largely obviate the need for separate
namespaces.

Luke

-- 
Health is merely the slowest possible rate at which one can die.



From MAILER-DAEMON Mon Mar 03 12:32:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ptmA-0007Ez-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 12:30:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ptl5-0006gy-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:29:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ptkd-00064a-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:29:26 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ptjL-0004wv-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:27:59 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h23HRwb21686
	for <cfengine-develop@nongnu.org>;
	Mon, 3 Mar 2003 11:27:58 -0600 (CST)
Date: Mon, 3 Mar 2003 11:27:58 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Development plan / meeting
In-Reply-To: <20030303124200.GB11441@wompom>
Message-ID: <Pine.GSO.4.51.0303031117140.21532@pixie>
References: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
 <200303031155.h23Bt8Tv010307@nexus.iu.hio.no> <20030303124200.GB11441@wompom>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 17:30:52 -0000

On Mon, 3 Mar 2003, Andrew Stribblehill wrote:

> Quoting Mark Burgess <mark@iu.hio.no> (2003-03-03 11:55:08 GMT):
> >
> > Quoting Bas:
> > >  - If the parser/lexer is rewritten. We can remove a lot of code
> > >    from cfengine. Like checking if we suppply the right keywords
> > >    with the right values, eg: Now there are checks everywhere
> > >    if we supplied a integer to a keyword. I personnaly think
> > >    that this will make the cfengine source more readable,
> > >    extendable and maintenable.
> > >
> >
> > I suggest that, along side the current cfengine development,
> > someone prototypes a "mockup" new parser, showing the
> > structure and grammar.
> >
> > That can be incorporated at a later stage. It is such an important
> > thing to get right that we need a "toy model" before we can
> > do anything "for real".

While I generally like this idea, from what I can tell (from my minimal
experience with writing parsers) changing the parser in cfengine would
require significant rewriting of the core cfengine code.  Thus, any
example parser/lexer combination would be largely nonfunctional; it would
have to be accepted largely on its ability to successfully parse, without
having the ability to build data structures.

I could be wrong about this, but this is how it looks to me.  I'd love to
find out I'm wrong. :)

> Forgive me if I get my terminology wrong -- I'm another of those
> former physicists and never did any formal compiler work...
>
> What are the types that we need to handle? Obviously, strings and
> integers. Should permissions be a basic type? How about booleans? IP
> ranges? Enums?
>
> At present, we're parsing a lot as if it's a string, then at
> work-time, checking to see if it makes sense. With some well-chosen
> basic types we can move loads of checking to the parse stage and
> simplify code.

Hmmm.  While I applaud the idea of simplifying the parsing code, I'm not
sure how good an idea this is.  If you want your parser always identifying
data types, then you essentially have to have strongly typed variables
which can't have their value changed to another type, or you have to have
the parser do all variable interpolation, enabling it to check data
correctness at parse time.

Adding strong typing (disallowing a variable to store data of different
types) makes things more explicit, but I personally think it also makes
a language for more annoying to use.  I'd really prefer not to go this
route.

Without strong typing, the parser has to interpolate variables completely,
in order to verify that a variable contains the correct data.  If the
parser is responsible for variable interpolation, then it's also going to
have to be responsible for all the work that sets the value of variables;
in other words, it will have to perform the actual execution of the code.

If this is what people want, then that's fine, but it should be understood
from the beginning that this will be the result.

Personally, I would prefer to keep the basic data types we have now (what,
strings and booleans), and add tests for higher-lever data types:  IsIP(),
IsHostname(), etc.  This is more flexible, more easily extensible, and
far less coupled to the parser, which I think is a good thing.  Just make
those functions available to your modules, too, once an inline module
interface is written.

Luke

-- 
"They called me mad, and I called them mad, and damn them, they
outvoted me."
 -- Nathaniel Lee on being consigned to a mental institution,
circa 17th c.



From MAILER-DAEMON Mon Mar 03 12:37:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ptsh-0003nt-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 12:37:39 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ptsf-0003mh-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:37:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ptsd-0003l0-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:37:36 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ptrM-0003PD-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:36:16 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23Ha8Tv018630;
	Mon, 3 Mar 2003 18:36:12 +0100 (MET)
Message-Id: <200303031736.h23Ha8Tv018630@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 18:36:07 +0100 (MET)
From: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303031033160.21532@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 17:37:37 -0000


> Not really; you've already kind of got lists.  You've already kind of got
> iteration.  You've already kind of got modules.  I'm just asking that all
> of these be made explicit and much more usable.  If just those features
> were added to cfengine, it would become infinitely more usable.  I, for
> one, could likely begin using it as my main framework, rather than as a
> tool.  As you mention below, these are not higher level concepts.
> 
> I think this discussion got sidetracked on the monitoring thing; if I had
> better module support, it would be easy to add the kind of functionality I
> want.  And even better, anyone could add it, and it could be shared.  I
> envision plugins being distributed like perl modules, with a core
> distribution and a CPAN-like repository with everything else.

Best to keep new concepts like "framework" out of the discussion. It is
just confusing to me and probably others. Give an example instead, as you
did when I complained :)

 
>> > What is it about cfengine that makes people have to generate cfengine code
>> > instead of being able to work within cfengine?
>>
>> Now you've lost me again in rhetoric. How is coding in cfengine not working
>> with it? You just want menus -- you're a closet windows user!!!
> 
> Um, no?  I'm sorry if this appears like rhetoric to you; I'm trying to
> explain what I want out of cfengine, and provide examples as to why I


Luke, a lot of what you write comes over as rhetorical. Why not be briefer
and less formal? You're among friends here and examples are better than
descriptions -- what would the syntax look like for what you are asking
for?


> think others want the same.  I don't want menus, I want a real language,
> with real datatypes and real control structures.  I want a generically
> useful language which can stand on its own and not require higher-level
> tools to make it usable.  I want to be able to do 98% of my work within
> one framework, without having to constantly step outside that framework
> for one reason or another.  I want the ability to easily add functionality
> to my framework (in the form of modules, subroutine equivalents,
> packages of functionality, etc.).

Then we are agreed -- whew. But I never would have guessed it :)

I am just concerned that we find a syntax that is as simple and
appropriate as possible. I don't want cfengine to look like a
programming language, if possible, even if it has all that functionality.
So we should not rush into a quick fix. 

> And please leave the aspersions out of it; I'm trying my best to be
> positive in this, and I'm trying to put the best light on what I want.

No aspersions from my side, but I was tempted to say the same thing to
you. Some of your ideas seemed quite hostile, as though you were saying
"cfengine is rubbish now -- it needs serious rewriting to be any use"

> I'm especially trying to give you the respect you deserve for getting
> cfengine to where it is.  But I'm obviously failing, if you think I'm
> asking you to create a GUI for cfengine.

I thank you for that. I think we are just experiencing exactly what
I was afraid of in an email discussion -- i.e. different styles being
misinterpreted.

Lets start again. I think everyone is in fair agreement about what is
right and wrong with cfengine, otherwise I would not have invited
participation, but I am adamant that we base our major work on the highest
possible standards of judgement and research. The rest is icing on the
cake.


Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





From MAILER-DAEMON Mon Mar 03 12:40:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ptuD-0006ib-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 12:39:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ptu4-0006Ih-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:39:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pttl-0005QU-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:38:51 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pttg-0005AS-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:38:40 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23HcXTv018671;
	Mon, 3 Mar 2003 18:38:37 +0100 (MET)
Message-Id: <200303031738.h23HcXTv018671@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 18:38:33 +0100 (MET)
From: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303031117140.21532@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 17:39:11 -0000



On  3 Mar, Luke A. Kanies wrote:
> On Mon, 3 Mar 2003, Andrew Stribblehill wrote:
> 
>> Quoting Mark Burgess <mark@iu.hio.no> (2003-03-03 11:55:08 GMT):
>> >
>> > Quoting Bas:
>> > >  - If the parser/lexer is rewritten. We can remove a lot of code
>> > >    from cfengine. Like checking if we suppply the right keywords
>> > >    with the right values, eg: Now there are checks everywhere
>> > >    if we supplied a integer to a keyword. I personnaly think
>> > >    that this will make the cfengine source more readable,
>> > >    extendable and maintenable.
>> > >
>> >
>> > I suggest that, along side the current cfengine development,
>> > someone prototypes a "mockup" new parser, showing the
>> > structure and grammar.
>> >
>> > That can be incorporated at a later stage. It is such an important
>> > thing to get right that we need a "toy model" before we can
>> > do anything "for real".
> 
> While I generally like this idea, from what I can tell (from my minimal
> experience with writing parsers) changing the parser in cfengine would
> require significant rewriting of the core cfengine code.  Thus, any
> example parser/lexer combination would be largely nonfunctional; it would
> have to be accepted largely on its ability to successfully parse, without
> having the ability to build data structures.
> 
> I could be wrong about this, but this is how it looks to me.  I'd love to
> find out I'm wrong. :)

The parser is pretty much a completely separate stage to the running code.
It should be no problem at all.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





From MAILER-DAEMON Mon Mar 03 12:44:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ptzg-0000aT-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 12:44:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ptxp-0008QL-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:42:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ptvU-0007Cw-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:40:32 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ptv1-00071l-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:40:03 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23HduTv018701;
	Mon, 3 Mar 2003 18:40:00 +0100 (MET)
Message-Id: <200303031740.h23HduTv018701@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 18:39:56 +0100 (MET)
From: Mark.Burgess@iu.hio.no
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303031117140.21532@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
Subject: [Cfengine-develop] Homework
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 17:44:50 -0000


Here's a homework for you all:

 What would the syntax of your ideal cfengine statement (with loops and types
 or whatever you want) look like?

 Everyone submit a couple of examples. One the the big issues in language
 design is syntax.

Mark




From MAILER-DAEMON Mon Mar 03 12:54:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pu8q-0003wa-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 12:54:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pu87-0003iy-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:53:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pu6t-0003F7-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:52:21 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pu6s-0003AA-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 12:52:18 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h23Hq7Tv018903;
	Mon, 3 Mar 2003 18:52:11 +0100 (MET)
Message-Id: <200303031752.h23Hq7Tv018903@nexus.iu.hio.no>
Date: Mon, 3 Mar 2003 18:52:07 +0100 (MET)
From: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Development plan / meeting
To: luke@madstop.com
In-Reply-To: <200303031736.h23Ha8Tv018630@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 17:54:19 -0000


>> Not really; you've already kind of got lists.  You've already kind of got
>> iteration.  You've already kind of got modules.  I'm just asking that all
>> of these be made explicit and much more usable.  If just those features
>> were added to cfengine, it would become infinitely more usable.

This sums it up nicely.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





From MAILER-DAEMON Mon Mar 03 16:58:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pxx8-0000tz-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 16:58:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18pxw9-0000Ld-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 16:57:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pxvn-0000Fk-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 16:57:08 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pxvY-0000BJ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 16:56:52 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h23Luh222768;
	Mon, 3 Mar 2003 15:56:44 -0600 (CST)
Date: Mon, 3 Mar 2003 15:56:43 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Mark.Burgess@iu.hio.no
In-Reply-To: <200303031740.h23HduTv018701@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303031434580.22493@pixie>
References: <200303031740.h23HduTv018701@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: cfengine-develop@nongnu.org
Subject: [Cfengine-develop] Re: Homework
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 21:58:28 -0000

On Mon, 3 Mar 2003 Mark.Burgess@iu.hio.no wrote:

>
> Here's a homework for you all:
>
>  What would the syntax of your ideal cfengine statement (with loops and types
>  or whatever you want) look like?
>
>  Everyone submit a couple of examples. One the the big issues in language
>  design is syntax.

Well, I'll start with arrays.  I'm going to assume at least push/pop
functions for manipulating them within the 'control' section.  I'm also
going to take perl's '@' character for arrays, but not switch to '$' when
referring to individual members (similar to how perl 6 is supposed to be).

Problem, though:  cfengine doesn't use datatype sigils when assigning
variables, only when interpolating them, which means that the following
syntaxes could be ambiguous:

scalar = ( this is a scalar value )
array = ( this is an array )

We could require all strings to be quoted (which I think is generally a
good idea), or commas separating array members (probably also a good
idea), or could move to using (or at least allowing) datatype sigils at
variable assignment time (which I think is a great idea; more perl, less
shell).

I'll go ahead and use the datatype sigils throughout.

Here's an example I'd use on oracle clusters:

#-------------------

groups:
  oracle1 = ( host1 host2 host3 )
  oracle2 = ( host4 host5 host6 )

  oracle_cluster = ( oracle1 oracle2 )

control:
  $nbbindir = ( "/opt/openv/netbackup/bin" )

  oracle_cluster::
    @backuptypes = ( "HOT", "COLD" )
    @backupstates = ( "start", "end" )

  oracle1::
    @dbs = ( "db1", "db2" )

  oracle2::
    @dbs = ( "db3", "db4" )

# implicitly iterate over all of the lists
links:
  oracle_cluster:
    $nbbindir/bp@{backupstates}_notify.ORACLE_@{dbs}.@{backuptypes}
      ->! bpscript

#------------------

This creates a link to the bpscript for every configured database, backup
type, and backup state.

Compare to the following cut-n-pasted or generated code:

#------------------

groups:
  oracle1 = ( host1 host2 host3 )
  oracle2 = ( host4 host5 host6 )

  oracle_cluster = ( oracle1 oracle2 )

control:
  $nbbindir = ( "/opt/openv/netbackup/bin" )

links:
  oracle1::
    $nbbindir/bpend_notify.ORACLE_db1.HOT ->! bpscript
    $nbbindir/bpend_notify.ORACLE_db1.COLD ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db1.HOT ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db1.COLD ->! bpscript

    $nbbindir/bpend_notify.ORACLE_db2.HOT ->! bpscript
    $nbbindir/bpend_notify.ORACLE_db2.COLD ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db2.HOT ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db2.COLD ->! bpscript

  oracle2::
    $nbbindir/bpend_notify.ORACLE_db3.HOT ->! bpscript
    $nbbindir/bpend_notify.ORACLE_db3.COLD ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db3.HOT ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db3.COLD ->! bpscript

    $nbbindir/bpend_notify.ORACLE_db4.HOT ->! bpscript
    $nbbindir/bpend_notify.ORACLE_db4.COLD ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db4.HOT ->! bpscript
    $nbbindir/bpstart_notify.ORACLE_db4.COLD ->! bpscript


#---------------

In other words, in the above example, with a couple extra lines creating
the arrays, I've reduced 16 lines of code to a single line of code.  Yay!

This, however, brings up things like whether we only implicitly iterate on
the left side of operators, whether all sections implicitly iterate,
should we iterate implicitly at all, etc.  I think implicit iteration when
interpreted as a string makes the most sense.

#---------------
# another array example
# a mythical cron.cf

control:
  $cfexec = ( "/var/cfengine/bin/cfexecd" )
  $ip = MyIP() # I know this function doesn't exist...
  $isminutes = ( ExecResult(/bin/randomminute $ip) )
  $ishour = ( ExecResult(/bin/randomhour $ip) )

  $cronpath = ( "/var/spool/crontabs" )

  $cfcron = ( "0,30 * * * * $cfexec -F" )

  $logchkcron = ( "10 3 * * 0,4" )
  $iscron = ( "$isminutes $ishour * * * \
/var/isconf/sbin/isboothook -c DAILY" )

  $dmesgcron = ( "0,5,10,15,20,25,30,35,40,45,50,55 * * * \
/usr/sbin/dmesg - >> /var/adm/messages" )

  *any::
    push @rootcrons, $cfcron, $iscron

  *hpux::
    push @rootcrons, $dmesgcron

  *sunos::
    push @rootcrons, $logchkcron

editfiles:
  { $cronpath/root
      AppendIfNoSuchLine @rootcrons
  }

#-----------------

This is nice because it completely abstracts the cron jobs themselves from
how they are put into the cron tab.  We can have a file which just defines
every single cronjob that could exist anywhere on our network, and then
later, selectively include those cronjobs.

With the addition of arrays of arrays (which would probably require
references to arrays), some kind of iteration keyword ("each"?), and a
generic block structure, you could abstract exactly how the crons get
stored; someone using xcrond could use the same cron definitions as
someone using crond.  A perl-style "join" keyword might be nice, but
wouldn't be necessary.

All of that is a pretty big jump, though, so I'm leaving it out for now.
I think the above is a good enough example, and would be tons of extra
functionality.

#-----------------------------------------------------------------

Datatype sigils

I've also been thinking about datatype sigils some; variables already have
them in cfengine ('$'), I would expect arrays to have a different one, and
hashes if we get those; what about classes?  I thought of using '*' as a
sigil for classes, or at least something like that. '^' could work also,
but not many others; the drawback to '*' is that it occurs in math
expressions, but I don't think cfengine has those, so that's not really a
problem.

So, the above code would look like:

#-----------------
groups:
  *oracle1 = ( *host1 *host2 *host3 )
  *oracle2 = ( *host4 *host5 *host6 )

  *oracle_cluster = ( *oracle1 *oracle2 )

control:
  $nbbindir = ( "/opt/openv/netbackup/bin" )

  *oracle_cluster::
    @backuptypes = ( "HOT", "COLD" )
    @backupstates = ( "start", "end" )

  *oracle1::
    @dbs = ( "db1", "db2" )

  *oracle2::
    @dbs = ( "db3", "db4" )

# implicitly iterate over all of the lists
links:
  *oracle_cluster::
    $nbbindir/bp@{backupstates}_notify.ORACLE_@{dbs}.@{backuptypes}
       ->! bpscript

#------------------

I like this, because it gets rid of barewords, which I like in general
because it makes parsing easier, both by the compiler and by the
programmer, and it just makes things cleaner in general, in my opinion.

#-----------------------------------------------------------------

Just one more thing:  Some kind of builtin command separator.  It's very
hard to mentall parse cfengine files, becuase there's no line terminator.
I recommend adopting the relatively standard ';' as a means of separation.
I think this would clean up the syntax a lot.

#-----------------------------------------------------------------

I'll limit my examples to this for now.  I have obviously not been
exhaustive on usage of either of these (especially arrays).  I have
glossed over $variable vs. ${variable}, I know.

Luke

-- 
                        ACHTUNG!!!

Das machine is nicht fur gefingerpoken und mittengrabben.  Ist easy
schnappen der springenwerk, blowenfusen und corkenpoppen mit
spitzensparken.  Ist nicht fur gewerken by das dummkopfen.  Das
rubbernecken sightseeren keepen hands in das pockets.  Relaxen und
vatch das blinkenlights!!!



From MAILER-DAEMON Mon Mar 03 22:16:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q2ro-0002kc-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 22:13:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q2rT-0001tG-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:12:59 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q2rG-0001GH-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:12:50 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q2r7-0000lr-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:12:37 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout07.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB70087VFJADR@mtaout07.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:11:34 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q2q5-0004Ss-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:11:33 -0500
Date: Mon, 03 Mar 2003 22:11:32 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <Pine.GSO.4.51.0303021755190.16018@pixie>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87wujfesgr.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 30
References: <200302281255.h1SCtdTv014666@nexus.iu.hio.no>
 <Pine.GSO.4.51.0302281025510.5674@pixie> <87heale5fe.fsf@myrealbox.com>
 <Pine.GSO.4.51.0303021755190.16018@pixie>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:13:14 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Luke A. Kanies" <luke@madstop.com> writes:

> Do we just wait for Mark to speak up at this point?  Can we take an
> unoffical poll?  Everyone, what role do you see cfengine as
> fulfilling in your network?  Framework, tool, or somewhere in
> between?  Where is it now?
> 
> For me, I would like it to be a framework, but it's more of a tool
> right now.

I would like it to be a framework, or in other words, the "brains" or
the "central command" for other tools, but instead of using cfengine
to edit config files for other independent tools I think some of the
functions of those tools could be implemented more tightly coupled
with cfengine, no, I am not saying to bloat cfengine with features,
but more like what somebody said, something similar to Apache and the
mod_XXX modules.

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZBlkMNObVRBZveYRAvP3AJ9R+KqjIaS/8LFegsfmx8EHvqhIzACgjhMu
y24U9/+Re55OZ9F4sk8MEUk=
=iHik
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 22:25:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q33B-0005me-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 22:25:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q332-0005MJ-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:24:56 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q32j-0004Pr-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:24:41 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q32i-0004M7-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:24:36 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout03.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HB700L8ZG4Z4P@mtaout03.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:24:35 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q32g-0004Tv-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:24:34 -0500
Date: Mon, 03 Mar 2003 22:24:34 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200303030820.h238KLTv004810@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87r89nerv1.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 68
References: <200303030820.h238KLTv004810@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:25:04 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> WHAT??????  Why on earth would you consider using tripwire for
> anything?  It doesn't do anything that cfengine doesn't already do
> "better".

For one, I started using tripwire before I started using cfengine, so
some of my machines were already running it.

Also, one of the features I don't know how to do with cfengine is that
it tells me when/what new files have been added to a directory or
which ones have been deleted.  I could probably hack something with
scripts but tripwire already does that.

Now, maybe cfengine can also do that, but we go again to the point
that a lot of people have made, we need a "real life" examples posted
possibly with comments.  I saw that there is a "tripwire
functionality" posted in the 'hints' page but it does not address what
I described.

Besides, I used 'tripwire' just as an example, another big one is
software management, I settled for using AutoRPM and have cfengine
manage its configuration, plus some directory structure and symlinks.

AutoRPM does its job fine, but a more coupled integration with
cfengine would be nicer, on the other hand I don't think that we
should have cfengine brew coffee and make toast, but a more flexible
plug-in architecture could be useful so maybe somebody will write
something that fulfills a need.

I participated in the Netsaint project (now Nagios) and that was one
of the things that I loved about it, it had a few "core" programs
which had all the "intelligence" and control, but all the service
checks (it is a systems/services monitoring system) were made out of
plug-ins, there were some guidelines that the plug-in developers
needed to follow, and as long as you followed them, your plug-in could
be written in any language, do any kind of check, etc, and Netsaint
will act properly.

Netsaint also has an "event handler" feature, which means that if the
plug-in reports a "WARNING" or a "CRITICAL" Netsaint executes a
user-defined command to try to fix that.  So if I already have this
why I did bother learning cfengine?

Well, because of the autonomous part, Netsaint relies in a central
server and I don't like that, I prefer that the machines take care of
themselves individually or at least as a group, specially because I am
thinking in deploying some GNU/Linux-based laptops which could be
unconnected from the network for extended periods of time.

Also, I don't want to saturate the network with "I am OK" messages
from all machines to a central server, I prefer to be notified of "I
am NOT OK" messages, or better yet, the machines finds a problem and
fixes it, and I don't even know (well, maybe if I look in the logs).


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZBxyMNObVRBZveYRArmFAJ0Zg3QCSAH0HQ6QDlD9y6TjTLA2UACghcrZ
6Wx3etEh4g2yo9n0k89R1EY=
=4pR/
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 22:32:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q39x-0001Nb-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 22:32:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q39q-0000w8-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:31:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q39i-0000ai-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:31:51 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q39i-0000MK-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:31:50 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout01.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HB7006BSGGWS6@mtaout01.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:31:44 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q39b-0004Uf-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:31:43 -0500
Date: Mon, 03 Mar 2003 22:31:43 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200303030824.h238NwTv004900@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87llzverj4.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 49
References: <200303030824.h238NwTv004900@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:32:04 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> Cfengine should be as plug'n'play as possible, with as much flexibility
> as possible. It shouldn't be for gratuitous monitoring -- it should keep
> as quiet as a mouse and work as autonomously as possible.

As Luke said, one thing is monitoring and another is reporting.

Anyway, I don't want gratuitous anything, whatever is monitored should
be because it matters to the status of the system and preferably
should have some rules to fix it if it breaks, I prefer the system to
take care of the problem than the system whining for my help.

Real life example: one my systems gets "/var" full and the reason I
have detected is because one daemon gets crazy and starts to grow its
log files so, now instead of having cfengine tell me that "/var" is
full, it goes and restarts the daemon and purge the spurious log
files, I don't even know.

So in this case there is monitoring (disk space) but there is no
reporting.

> Luke, I don't understand you. In what way is cfengine NOT a
> framework?  What do you think is missing?

In short, I think that whatever other people is doing to "complement"
cfengine or as a "hack" to cfengine could tell us what is missing.
Some things as you said are because people is "not thinking straight"
but let's not forget that sometimes it is because people is not used
to the "cfengine way", so maybe one of the big things that is missing
is a different way to document how to use cfengine.

The tutorial, reference and the other documents in the website are
great, but some people might not understand or might not be able to
see "the big picture" so providing them with a library of recipes
might be better for them.

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZB4fMNObVRBZveYRAlgaAJ4trJBCzkSgsDHBGCgVDij27l/pGgCghbxo
YhrRtXtSrPyX/w/mnCOlWKc=
=tOU4
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 22:44:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q3MK-0003SO-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 22:44:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q3MJ-0003SG-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:44:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q3Ln-0003LW-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:44:50 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q3Ln-0003Jz-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:44:19 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout04.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB7006H3H1P4C@mtaout04.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:44:14 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q3Lh-0004WY-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:44:13 -0500
Date: Mon, 03 Mar 2003 22:44:12 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200303031631.h23GVJTv017346@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87d6l7eqyb.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 67
References: <200303031631.h23GVJTv017346@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:44:52 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark.Burgess@iu.hio.no writes:

> Depends what you mean by monitoring. If you want a message on every
> run saying "Yes DNS is still running..."  You'll be insane within a
> few days. If you have 2000 hosts (as several cfengine users do)
> you'll be insance within a few minutes.

I don't think that any of us want that (now you understand why I am
insane :-))


> The idea behind cfengine is precisely to eliminate the administrator
> from as much as possible. Keep quiet, and keep things running..

I agree.

> > And I certainly don't see how making the ability to monitor an
> > explicit part of cfengine's feature set makes it _less_ flexible
> > and _less_ plug'n'play.  "If I've got dns configured, make sure
> > it's always running."  "If I've got a host configured, make sure
> > it checks in at least once every hour."  That kind of stuff; it's
> > all there, we just need some hooks to be able to set up what's
> > currently missing (which isn't actually much).
> 
> But this is already what happens, so I don't understand what you are saying.

Maybe what we need is recipes of real life scenarios, or "templates".

For example what I am doing in my installation is having something
like a template (I don't have it available now, so from memory) for
daemons that should be running in server:

For almost ANY daemon this is true:

a) The daemon should be configured to run in a certain runlevel.
b) The daemon should be started at boot time.
c) The daemon should be running, if it is not, it should be started.
d) The daemon should be restarted if its configuration file changes.



If we prepare a set of "guidelines" or "templates" describing this
kind of stuff it will make it easier for the newbies to start using
cfengine.

Also it will make it easier for the experts as we might even start
"standardizing" the way we configure cfengine which could lead to
better cfengine configurations.

But most important by having more newbies having results easily when
they adopt cfengine we might be able to attract more brain power to
cfengine.

Ok, I will stop now before besides being insane I will be rhetoric.

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZCEMMNObVRBZveYRApmzAJ4mSAvyYIVRgBHvaf4bsUYhNTk4wACfZMSE
OOZ9HCOC2XUS2NaaeNnxCJc=
=x2eY
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 22:53:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q3Ui-0006N0-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 22:53:32 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q3Ug-0006Lo-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:53:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q3UA-00069o-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:53:29 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q3UA-00065N-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:52:58 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout07.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB70084THEZ29@mtaout07.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:52:11 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q3TO-0004XP-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:52:10 -0500
Date: Mon, 03 Mar 2003 22:52:09 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200303031736.h23Ha8Tv018630@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <874r6jeql2.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 42
References: <200303031736.h23Ha8Tv018630@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:53:31 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark.Burgess@iu.hio.no writes:

> No aspersions from my side, but I was tempted to say the same thing
> to you. Some of your ideas seemed quite hostile, as though you were
> saying "cfengine is rubbish now -- it needs serious rewriting to be
> any use"
[...]
> > I'm especially trying to give you the respect you deserve for
> > getting cfengine to where it is.  But I'm obviously failing, if
> > you think I'm asking you to create a GUI for cfengine.
> 
> I thank you for that. I think we are just experiencing exactly what
> I was afraid of in an email discussion -- i.e. different styles being
> misinterpreted.

I think we all have respect for you Mark, so please don't take any
criticism of cfengine personal, we all want to make cfengine better,
and I also agree, e-mail can be misunderstood, but unless we can get
together people from at least 4 different countries (and very
different time zones) together in the same room we have to find an
alternative.

> Lets start again. I think everyone is in fair agreement about what
> is right and wrong with cfengine, otherwise I would not have invited
> participation, but I am adamant that we base our major work on the
> highest possible standards of judgement and research.

Ok, just bear with the less gifted/trained/experienced.

Greetings,
- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZCLoMNObVRBZveYRAtTxAJ0Sg9hyrHvpPTtAgJ1WVElFoHBVRwCeK9Zt
h1yMi6JjH0Kxnr+S2Q9MUAY=
=IMGs
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 23:08:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q3iP-0006Wc-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 23:07:41 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q3iC-0006Cs-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:07:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q3hw-0005pV-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:07:13 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q3hr-0005lY-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:07:07 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h243g8823892
	for <cfengine-develop@nongnu.org>;
	Mon, 3 Mar 2003 21:42:08 -0600 (CST)
Date: Mon, 3 Mar 2003 21:42:07 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Message-ID: <Pine.GSO.4.51.0303032126350.23487@pixie>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: [Cfengine-develop] New Parser/Lexer PoC
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 04:07:39 -0000

Okay, just to see what it looked like, I mocked up a new lexer and parser.

I'm no wizard with either, and only just learned lex and yacc (the little
I know about them) last month or so, but I figured I'd give it a go.

Before you look at them, there are a couple of key points to make about
them:

First and foremost, there is absolutely no code in here.  This is _just_ a
mockup to see what it might take to correctly parse the syntax.  I'm not
even going to say that flex/bison/whatever will correctly parse these,
because they're not to that point.

Second, this was not written from the perspective of trying to provide
equivalent functionality to the current parser (which was probably the
logical thing to do); instead, it was written from the perspective of
someone just interested in doing a clean-room reimplementation of a
parser.  As such, there are probably lots of problems with it, especially
related to the subtleties in the current parser.

Third, this mockup was specifically designed to not contain any
information about the code, just about the format of the language.  That's
usually my goal in a parser, and I think it's a reasonable one.

Fourth and maybe most importantly, I can nearly _guarantee_ you that these
won't work, either by not correctly parsing files or by allowing invalid
syntax through (which are really the only ways for parsers to fail,
right?).  This is because the parser may have to know more about the code,
and especially about the different actions, than this mockup does.

Given that, I think they're a valuable learning tool.  For one, I found
what I consider to be nine (9!) different syntaxes in cfengine, for what
looks like 29 different types of actions.  That's a lot of uniqueness, and
I'm not convinced it's totally necessary.  Obviously, any changes at this
point would break compatibility, but I would very much like to see the
number of allowed syntaxes reduced; this would significantly reduce
the complexity of the language and the associated learning curve.

Maybe if an inline module interface were added, the existing actions could
slowly be ported over to be inline modules, and have their syntaxes
changed to a standard one at the same time.

This begs the question, though:  Is it possible to reduce the number of
syntaxes down to only one?  I think it's possible to get pretty close; I
could go through the list, but I think some of the syntaxes aren't unique
enough to warrant separation, and currently have to be separated for
parsing.  If we could get it down to one, though, then we'd _really_ have
a simple, consistent language!

These also make it somewhat obvious how hard some aspects of the cfengine
language are to parse.  For instance, setting the actions off by braces
would simplify things considerably, as would having an end-of-line marker
like ';'.

So, with no further ado, you can find the lexer and parser here:

http://madstop.com/~luke/cfengine/cflex2.l
http://madstop.com/~luke/cfengine/cfparse2.y

They aren't terribly well documented, either.  I can do so if people think
this is a worthwhile experiment to explore, but I don't want to spend much
more time on this if it's just going to be thrown away (which is what I
expect to happen).

Enjoy!

Luke

-- 
Measure with a micrometer.  Mark with chalk.  Cut with an axe.



From MAILER-DAEMON Mon Mar 03 23:16:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q3qZ-0007RR-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 23:16:07 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q3qU-0007DG-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:16:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q3qF-0006jH-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:15:48 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q3qC-0006dc-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:15:44 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.09 (built Jan  7 2003))
	with ESMTP id <0HB700F4ZF8QHK@mtaout05.icomcast.net> for
	cfengine-develop@nongnu.org; Mon, 03 Mar 2003 22:05:14 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18q2jx-0004Rv-00	for <cfengine-develop@nongnu.org>; Mon,
 03 Mar 2003 22:05:13 -0500
Date: Mon, 03 Mar 2003 22:05:12 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <Pine.GSO.4.51.0303011213150.10171@pixie>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <873cm3g7br.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 59
References: <200302271917.h1RJHoTv028258@nexus.iu.hio.no>
 <20030228125244.GC9080@wompom> <87smu7oz7j.fsf@myrealbox.com>
 <Pine.GSO.4.51.0303011213150.10171@pixie>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 04:16:05 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Luke A. Kanies" <luke@madstop.com> writes:

> I like the idea of a constantly running cfagent, and rather than one that
> works in passes, like now, I'd like one that set alarms on all work.  You
> may want to check your process table every 5 minutes, because it's
> lightweight and very important, but only check file permissions every
> hour, because it takes more time and is less likely to cause service
> outages.
> 
> So, each feature is built like a plugin, and each plugin supports an alarm
> setting, with support for a default.  The cfagent starts by parsing all of
> the config files, and probably running each plugin once.  Then, it sets
> each plugin's alarm (including the plugin that updates cfagent's config),
> and when that alarm goes off the plugin runs again.

I agree.

> But you still need a way to figure out who's in charge of reporting if a
> host is down.  That should be pretty easy:  whoever cares.  For services
> other than infrastructure services (dns, ntp, etc.), most hosts are only
> contacted by peers providing the same services and by downstream hosts who
> require those services.  At the same time, most hosts again only contact
> peers, and upstream servers providing required services.
> 
> So, you just have every host care about its peers (or some subset; if a
> host has 100 peers, than that's a waste of effort) and upstream servers,
> and pass any important events around when something changes.

This resembles what I described in a previous message under the "Are
you ok?" title, so it is good that we agree.



> Do the rest of the people interested in cfengine development feel
> that way, or, like me, do most people feel that some significant
> change is necessary?

I think that we need to define the specific role that cfengine plays
in a fully autonomic infrastructure, depending on this role are what
kind of changes are needed.

Maybe we need to define what an "autonomic infrastructure" is, in
short, a infrastructure that self-configures, self-monitors and
self-heals, if we read what IBM says, they also include
self-optimizing.


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ZBfoMNObVRBZveYRAu8hAJ9EHrMMjSmtClQ9Oww8f1fN5+LkbgCfRH/o
hxB2EXQjzbA3VH1aN0CkZd8=
=sN53
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 03 23:26:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q412-0000rv-00
	for mharc-cfengine-develop@gnu.org; Mon, 03 Mar 2003 23:26:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q40z-0000hy-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:26:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q40x-0000en-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:26:52 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q40x-0000dW-00
	for cfengine-develop@nongnu.org; Mon, 03 Mar 2003 23:26:51 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP id 6BC221BF24C
	for <cfengine-develop@nongnu.org>;
	Mon,  3 Mar 2003 23:26:50 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])F3081DE20BA	for <cfengine-develop@nongnu.org>;
	Mon,  3 Mar 2003 23:26:50 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6HS1>; Mon, 3 Mar 2003 23:34:35 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
Date: Mon, 3 Mar 2003 23:34:29 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 04:26:54 -0000

It is all academic since I am generating my cfengine files now, but I found
the perlisms noisy. Maybe since our audience is sysadmins and they are
mostly fluent in perl it is okay, but it is adding a lot of punctuation.
Maybe because of my recent efforts with pythin I was thinking that you would
define a list with something like:

control:
  myvals = [ a, b, c ]

And still reference it as plain

shellcommands:
  "echo $(myvals)"

Martin
----
Martin Andrews
martin.andrews@lionbioscience.com 

> -----Original Message-----
> From: Luke A. Kanies [mailto:luke@madstop.com]
> Sent: Monday, March 03, 2003 4:57 PM
> To: Mark.Burgess@iu.hio.no
> Cc: cfengine-develop@nongnu.org
> Subject: [Cfengine-develop] Re: Homework
> 
> 
> On Mon, 3 Mar 2003 Mark.Burgess@iu.hio.no wrote:
> 
> >
> > Here's a homework for you all:
> >
> >  What would the syntax of your ideal cfengine statement 
> (with loops and types
> >  or whatever you want) look like?
> >
> >  Everyone submit a couple of examples. One the the big 
> issues in language
> >  design is syntax.
> 
> Well, I'll start with arrays.  I'm going to assume at least push/pop
> functions for manipulating them within the 'control' section. 
>  I'm also
> going to take perl's '@' character for arrays, but not switch 
> to '$' when
> referring to individual members (similar to how perl 6 is 
> supposed to be).



From MAILER-DAEMON Tue Mar 04 02:50:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q7CJ-0005Ci-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 02:50:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q7CF-00059b-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 02:50:43 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q7CD-00059L-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 02:50:43 -0500
Received: from numenor.qualcomm.com ([129.46.51.58])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q7C3-0004hT-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 02:50:32 -0500
Received: from morgul.qualcomm.com (morgul.qualcomm.com [129.46.4.185])
	h247noVA011615	for <cfengine-develop@nongnu.org>;
	Mon, 3 Mar 2003 23:49:50 -0800 (PST)
Received: from morgul.qualcomm.com (localhost [127.0.0.1])
	h247nmIJ016853	for <cfengine-develop@nongnu.org>;
	Mon, 3 Mar 2003 23:49:49 -0800 (PST)
Received: from localhost (cchapin@localhost)h247nmBh016850
	for <cfengine-develop@nongnu.org>;
	Mon, 3 Mar 2003 23:49:48 -0800 (PST)
X-Authentication-Warning: morgul.qualcomm.com: cchapin owned process doing -bs
Date: Mon, 3 Mar 2003 23:49:48 -0800 (PST)
From: "Chris (Ducky) Chapin" <cchapin@qualcomm.com>
To: cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
Message-ID: <Pine.GSO.4.10.10303032245040.10003-100000@morgul.qualcomm.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 07:50:44 -0000


On Mon, 3 Mar 2003, Andrews, Martin wrote:

> It is all academic since I am generating my cfengine files now, but I found
> the perlisms noisy. Maybe since our audience is sysadmins and they are
> mostly fluent in perl it is okay, but it is adding a lot of punctuation.

I'm one of those mostly fluent in perl sysads. I like perl the way it is
(perl5) and like the direction of perl6. That said, the perl style of
excessive punctuation it's inappropriate for cfengine. Perl isn't
targeting to be a framework language, it's a general purpose language.

Sysads are intelligent folk for the most part - define a brand spanking
new language that fills one of their needs and they'd learn it.

Anyway, The syntax I do like is what we're all familiar with:

directive:
   class filter::
     directive-specific-command    directive args...
        extended data

Unfortunately, it's the directive stuff onward that tends to get unique.
The common syntax extends just to the class level. But, this is where a
plugin could define the inner syntax, supplying a parser callback to
cfengine for that block of text, or some such.

A thought that just popped into my head: Enough power in the parser to be
able to create custom directives inside the cf - a kind of shellcommands
on steroids =) I don't have any ideas on syntax for that, though. =(

> Maybe because of my recent efforts with pythin I was thinking that you would
> define a list with something like:
> 
> control:
>   myvals = [ a, b, c ]
> 
> And still reference it as plain
> 
> shellcommands:
>   "echo $(myvals)"

My take on lists was something like:

control:
   split = ( " " )
   myvals = Split(a b c)
   morevals = List( "var one", "var two", "var three" )

Same otherwise. The idea being a heavier use of functions to get the data
type you were after, pushing the burden out of the parser, keeping it
minimal.




From MAILER-DAEMON Tue Mar 04 03:24:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q7j9-0004Qt-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 03:24:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q7j7-0004Pr-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 03:24:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q7j4-0004O5-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 03:24:40 -0500
Received: from mta.sara.nl ([145.100.16.144])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q7gd-0003Yy-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 03:22:07 -0500
Received: from sara.nl (bas.ka.sara.nl [145.100.6.35])
	by mta.sara.nl (8.11.3/8.11.3) with ESMTP id h248M6E24390
	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 09:22:06 +0100 (MET)
Message-ID: <3E646225.20902@sara.nl>
Date: Tue, 04 Mar 2003 09:21:57 +0100
From: Bas van der Vlies <basv@sara.nl>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
References: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 08:24:42 -0000

I agree with Martin. I do not want a perl language with all kind of
special chars to tell what kind of variable it is. It make the cfengine
code less readable. I just trying it to avoid this style of programming 
;-). If we want to use arrays/list we must say that this variable is a 
list. We can invent our own language (Like Chris suggested) or use the
python style for lists (I am also a python programmer).

Andrews, Martin wrote:
> It is all academic since I am generating my cfengine files now, but I found
> the perlisms noisy. Maybe since our audience is sysadmins and they are
> mostly fluent in perl it is okay, but it is adding a lot of punctuation.
> Maybe because of my recent efforts with pythin I was thinking that you would
> define a list with something like:
> 
> control:
>   myvals = [ a, b, c ]
> 
> And still reference it as plain
> 
> shellcommands:
>   "echo $(myvals)"
> 
> Martin
> ----
> Martin Andrews
> martin.andrews@lionbioscience.com 
> 
> 
>>-----Original Message-----
>>From: Luke A. Kanies [mailto:luke@madstop.com]
>>Sent: Monday, March 03, 2003 4:57 PM
>>To: Mark.Burgess@iu.hio.no
>>Cc: cfengine-develop@nongnu.org
>>Subject: [Cfengine-develop] Re: Homework
>>
>>
>>On Mon, 3 Mar 2003 Mark.Burgess@iu.hio.no wrote:
>>
>>
>>>Here's a homework for you all:
>>>
>>> What would the syntax of your ideal cfengine statement 
>>
>>(with loops and types
>>
>>> or whatever you want) look like?
>>>
>>> Everyone submit a couple of examples. One the the big 
>>
>>issues in language
>>
>>> design is syntax.
>>
>>Well, I'll start with arrays.  I'm going to assume at least push/pop
>>functions for manipulating them within the 'control' section. 
>> I'm also
>>going to take perl's '@' character for arrays, but not switch 
>>to '$' when
>>referring to individual members (similar to how perl 6 is 
>>supposed to be).
> 
> 
> 



-- 
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************




From MAILER-DAEMON Tue Mar 04 04:48:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q92a-0001j3-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 04:48:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q92L-00018I-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 04:48:37 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q92F-0000te-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 04:48:32 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q929-0000fr-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 04:48:25 -0500
Received: from nexus.iu.hio.no (localhost [IPv6:::1])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h249mMTu001830;
	Tue, 4 Mar 2003 10:48:22 +0100 (MET)
Received: (from mark@localhost)
	by nexus.iu.hio.no (8.12.6/8.12.2/Submit) id h249mLk4001828;
	Tue, 4 Mar 2003 10:48:21 +0100 (CET)
From: Mark Burgess <mark@iu.hio.no>
Message-Id: <200303040948.h249mLk4001828@nexus.iu.hio.no>
Subject: Re: [Cfengine-develop] Re: Homework
To: cchapin@qualcomm.com ("Chris (Ducky) Chapin")
Date: Tue, 4 Mar 2003 10:48:21 +0100 (MET)
In-Reply-To: <Pine.GSO.4.10.10303032245040.10003-100000@morgul.qualcomm.com>
	from "Chris (Ducky) Chapin" at Mar 03, 2003 11:49:48 PM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 09:48:49 -0000

> My take on lists was something like:
> 
> control:
>    split = ( " " )
>    myvals = Split(a b c)
>    morevals = List( "var one", "var two", "var three" )

Yes, PHP does this well, using things like "list" and "split" to make things
explicit. This makes it easy for users to look up things in the manual -
because they can just search for the keyword. I like this.

> 
> Same otherwise. The idea being a heavier use of functions to get the data
> type you were after, pushing the burden out of the parser, keeping it
> minimal.

Minimal is god!

We want to make the code as small as possible, so that it will fit on
mobile phones, running Linux :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Tue Mar 04 05:15:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q9Rl-0005yz-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 05:14:53 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q9RS-0004xR-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 05:14:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q9RO-0004ny-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 05:14:31 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q9RM-0004bw-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 05:14:28 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h24ADwp22687
	for <cfengine-develop@nongnu.org>; Tue, 4 Mar 2003 10:13:58 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.1/8.11.1) with ESMTP id h24ADsT23501
	for <cfengine-develop@nongnu.org>; Tue, 4 Mar 2003 10:13:54 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 85819FF1F
	for <cfengine-develop@nongnu.org>;
	Tue,  4 Mar 2003 10:13:53 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18q9Qn-00006y-00
	for <cfengine-develop@nongnu.org>; Tue, 04 Mar 2003 10:13:53 +0000
Date: Tue, 4 Mar 2003 10:13:53 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
Message-ID: <20030304101353.GI11441@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
X-Uptime: 10:05:16 up 13 days, 18:54,  6 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 10:14:51 -0000

Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-03-04 04:34:29 GMT):
> It is all academic since I am generating my cfengine files now, but I found
> the perlisms noisy. Maybe since our audience is sysadmins and they are
> mostly fluent in perl it is okay, but it is adding a lot of punctuation.
> Maybe because of my recent efforts with pythin I was thinking that you would
> define a list with something like:
> 
> control:
>   myvals = [ a, b, c ]
> 
> And still reference it as plain
> 
> shellcommands:
>   "echo $(myvals)"

I like this too. By extension, associative arrays could be,

control:
  case_colour = { "linux" => "grey",  "sgi" => "purple" }

Then something to say that the former was to be treated as a class.

That said, I'm not sure we actually need associative arrays (or dicts
or hashes, whatever you call them) in Cfengine, since for my example,
the following already works:

control:
  linux::
    case_colour = ( grey )
  sgi::
    case_colour = ( purple )

But that's quite a bit more wordy than the former example. How about
this:

control:
  case_colour = Case(linux:: "grey", sgi:: "purple", any:: "invisible")

Now I see I shouldn't have chosen the example of the colour of a case
to showcase a 'case' statement :)

-- 
WEST FITZROY
SOUTHWEST VEERING WEST OR NORTHWEST 5 TO 7, DECREASING 3 OR 4
LATER. RAIN THEN SHOWERS. MODERATE OR POOR BECOMING GOOD



From MAILER-DAEMON Tue Mar 04 10:45:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qEbG-0007x9-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 10:45:02 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qEbE-0007wI-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 10:45:00 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qEbC-0007tU-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 10:44:59 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qEbC-0007rT-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 10:44:58 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.11.6+Sun/8.11.6) with ESMTP id h24Fiu725563
	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 09:44:57 -0600 (CST)
Date: Tue, 4 Mar 2003 09:44:56 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <20030304101353.GI11441@wompom>
Message-ID: <Pine.GSO.4.51.0303040933570.25494@pixie>
References: <DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
	<20030304101353.GI11441@wompom>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 15:45:01 -0000

On Tue, 4 Mar 2003, Andrew Stribblehill wrote:

> That said, I'm not sure we actually need associative arrays (or dicts
> or hashes, whatever you call them) in Cfengine, since for my example,
> the following already works:

One of the big reasons I think we need associative arrays is because they
are similar to objects in a lot of ways.  They would fit in well with
Hugo's mention earlier of process templates:

sshd = {
    "pattern" => "sshd",
    "initscript" => "/etc/init.d/sshd",
    "stop" => "$sshd{initscript} stop",
    "start" => "$sshd{initscript} start",
    "restart" => "$sshd{initscript} stop; $sshd{initscript} start",
    "runlevel" => "2",
    "runpriority" => "80",
}

# this would be a list...
processes = ( $sshd )

links:
  each(@processes) {
    /etc/init.d/$_{pattern} -> /etc/rc$_{runlevel}.d/S$_{runpriority}
  }

processes:
  each(@processes) {
    $_{pattern} restart=$_{restart} useshell=$_{useshell}
  }

#------------

You get the idea; there are details associated with a given concept or
object which are needed by multiple sections in cfengine.  Currently,
those details all need to be maintained independently, and we have to fake
separate namespaces by prefixing all variables with a string, and then we
have to man set up each section to look for the correct info for every
separate object.

Associative arrays are the next best thing to objects, and they give us
that separate namespace capability, allowing us to unify all of the
information about an object, and then use that info however we want later.

Obviously, the syntax was just a way to make a point; I'm not specifically
recommending that syntax....

Luke

-- 
"The Internet, of course, is more than just a place to find pictures of
people having sex with dogs."             -- Time Magazine, 3 July 1995



From MAILER-DAEMON Tue Mar 04 12:37:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qGLk-00037p-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 12:37:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qGLg-00034H-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 12:37:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qGLc-0002vu-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 12:37:00 -0500
Received: from numenor.qualcomm.com ([129.46.51.58])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qGJ1-0001Ob-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 12:34:19 -0500
Received: from morgul.qualcomm.com (morgul.qualcomm.com [129.46.4.185])
	h24HXtVA000477	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 09:33:56 -0800 (PST)
Received: from morgul.qualcomm.com (localhost [127.0.0.1])
	h24HXrIJ005164	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 09:33:54 -0800 (PST)
Received: from localhost (cchapin@localhost)h24HXrMI005161
	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 09:33:53 -0800 (PST)
X-Authentication-Warning: morgul.qualcomm.com: cchapin owned process doing -bs
Date: Tue, 4 Mar 2003 09:33:53 -0800 (PST)
From: "Chris (Ducky) Chapin" <cchapin@qualcomm.com>
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <Pine.GSO.4.51.0303040933570.25494@pixie>
Message-ID: <Pine.GSO.4.10.10303040845510.28004-100000@morgul.qualcomm.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 17:37:06 -0000



On Tue, 4 Mar 2003, Luke A. Kanies wrote:

> # this would be a list...
> processes = ( $sshd )
> 
> links:
>   each(@processes) {
>     /etc/init.d/$_{pattern} -> /etc/rc$_{runlevel}.d/S$_{runpriority}
>   }
> 
> processes:
>   each(@processes) {
>     $_{pattern} restart=$_{restart} useshell=$_{useshell}
>   }
> 
> #------------

I'm very keen to stay away from imperative style as much as possible so
the user/admin is always thinking in terms of what is to be managed, not
how to manage it. So, to me, the foreach just doesn't seem to fit quite
right.

Working backwards a little, I kinda like the way list expansion works in
the cfengine2, but I'd like some backreference support. To take your
assoc. array, and just change the links processes:

===

links:
   /etc/init.d/$(processes) -> /etc/rc$($(1).runlevel).d/S$($(1).runpriority)

processes:
   $(processes) restart=$($(1).restart) useshell=$($(1).useshell)

===

Where $(1) gets populated on each iteration, $(2) would be the 2nd list to
be expanded, etc. Sort of like RegExs, I know, but the variable isn't
important to me, the function of it is, so please improve it =)

What I don't like about the above is it's still ambiguous as to where the
expansion happens - or maybe I'm blowing that out of proportion.

Glancing at the code, the "$($(" also looks a little weird, too, but does
make sense.

> You get the idea; there are details associated with a given concept or
> object which are needed by multiple sections in cfengine.  Currently,
> those details all need to be maintained independently, and we have to fake
> separate namespaces by prefixing all variables with a string, and then we
> have to man set up each section to look for the correct info for every
> separate object.
> 
> Associative arrays are the next best thing to objects, and they give us
> that separate namespace capability, allowing us to unify all of the
> information about an object, and then use that info however we want later.
> 
> Obviously, the syntax was just a way to make a point; I'm not specifically
> recommending that syntax....

Associative arrays would be nice, since I'm not going to want to write or
wait for someone to write a plugin for EVERY task that comes up that
doesn't already have a predefined handler.

-Ducky




From MAILER-DAEMON Tue Mar 04 16:42:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qKBM-0002AK-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 16:42:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qKBK-00029B-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 16:42:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qKAK-0001zA-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 16:41:36 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qKA1-0001xb-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 16:41:17 -0500
Received: from iu.hio.no (nexus.iu.hio.no [128.39.89.10])
	by nexus.iu.hio.no (8.12.6/8.12.6) with ESMTP id h24Lf4Tv016480;
	Tue, 4 Mar 2003 22:41:09 +0100 (MET)
Message-Id: <200303042141.h24Lf4Tv016480@nexus.iu.hio.no>
Date: Tue, 4 Mar 2003 22:41:04 +0100 (MET)
From: Mark.Burgess@iu.hio.no
Subject: Re: [Cfengine-develop] Re: Homework
To: cchapin@qualcomm.com
In-Reply-To: <Pine.GSO.4.10.10303040845510.28004-100000@morgul.qualcomm.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 21:42:39 -0000



On  4 Mar, Chris (Ducky) Chapin wrote:
> 
> 
> On Tue, 4 Mar 2003, Luke A. Kanies wrote:
> 
>> # this would be a list...
>> processes = ( $sshd )
>> 
>> links:
>>   each(@processes) {
>>     /etc/init.d/$_{pattern} -> /etc/rc$_{runlevel}.d/S$_{runpriority}
>>   }
>> 
>> processes:
>>   each(@processes) {
>>     $_{pattern} restart=$_{restart} useshell=$_{useshell}
>>   }
>> 


There is a delicate balance to be found between making things
explicit and hiding ugly imperatives. It requires some creativity.
Implicit expansion, such as we have now in cfengine has advantages
and disadvantages .. sigh. These are the decisions that are the
hardest. Again, we could use examples where the current method
is inadequate, and examples of what would be better.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





From MAILER-DAEMON Tue Mar 04 17:29:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qKug-0007hf-00
	for mharc-cfengine-develop@gnu.org; Tue, 04 Mar 2003 17:29:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qKuQ-0007VO-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 17:29:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qKuL-0007Sq-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 17:29:10 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qKtl-0007Ju-00
	for cfengine-develop@nongnu.org; Tue, 04 Mar 2003 17:28:34 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.12.8/8.11.6) with ESMTP id h24MSXam000765
	for <cfengine-develop@nongnu.org>;
	Tue, 4 Mar 2003 16:28:33 -0600 (CST)
Date: Tue, 4 Mar 2003 16:28:33 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <200303042141.h24Lf4Tv016480@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303041609420.721@pixie>
References: <200303042141.h24Lf4Tv016480@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 22:29:29 -0000

On Tue, 4 Mar 2003 Mark.Burgess@iu.hio.no wrote:

> There is a delicate balance to be found between making things
> explicit and hiding ugly imperatives. It requires some creativity.
> Implicit expansion, such as we have now in cfengine has advantages
> and disadvantages .. sigh. These are the decisions that are the
> hardest. Again, we could use examples where the current method
> is inadequate, and examples of what would be better.

I agree with you, there is a delicate balance.  That's one of the reasons
I specified that my syntax was only to prove how useful hashes are, not to
function as an actual recommendation.

The easiest example I can think of where the current syntax is invalid is
collecting cron jobs.  I _very_ much want to separate the actual
installation of the cron jobs from defining all of the available cron
jobs.  Currently, if I have a total of 200 cron jobs (which I probably
have more than right now), scattered across fifty hosts, and I want to use
cfengine to manage that, then I have to essentially have a separate
editfiles instance for every cron jobs:

editfiles:
  any:: { ${rootcron}
    AppendIfNoSuchLine "${cron1}"
    DefineClasses=restartcron
  }
  host1:: { ${rootcron}
    AppendIfNoSuchLine "${cron2}"
    DefineClasses=restartcron
  }
  hostgroup:: { ${rootcron}
    AppendIfNoSuchLine "${cron3}"
    DefineClasses=restartcron
  }
.
.
.

If I at least had implicit iteration, then I could do the following:

#--------------------------
# not using the '@' character, since no one else seemed to like it...

control:
  any:: push(rootcrons, ${cron1})
  host1:: push(rootcrons, ${cron2})
  hostgroup:: push(rootcrons, ${cron3})

groups:
  haverootcron = ( IsDefined(rootcrons) )

editfiles:
  rootcron:: { ${rootcron}
    AppendIfNoSuchLine "${rootcrons}"
    DefineClasses=restartcron
  }

#--------------------------

Why is this so much better?  In general, because it separates what is
being done (I'm configuring stuff to happen on a periodic basis) from how
it's being done (I'm adding it to a specific file, and then defining a
class if a change was necessary) and why it's being done (because i'm on
host1 or a member of hostgroup).  I've got my definition of the cron job
(what's being done) in one place, which hosts that cron job belongs on
(why it's being done, I guess), and what is specifically going to change
on the host (how it's being done).  All in separate places in the config
file.

These are three distinct types of information, and with iteration, hashes,
namespaces, etc., it's trivial to maintain them separately.  With none of
those, though, it becomes impossible without generating code, which I
prefer to avoid if possible.  If I ever have to change my method of cron
storage, or change how cron is restarted (say, by installing another
process which restarts for me without having to have cfengine do it), or
have to support multiple platforms with the same cron jobs but different
cron installation methods, then I can do that very easily with this level
of abstraction.

I understand if this is not your goal; some people seem to like coupling
all of these pieces of information together.  I personally think it makes
configurations less reusable and more brittle, which is why I have a
somewhat religious aversion to this level of coupling.

As to the use of explicit iteration suddenly turning cfengine into an
imperative language, I'm not sure that's really the case.  I think one of
the reasons people fear prolog so much is the heavy use of implicit
iteration; most times I've heard 'implicit' used WRT languages, it is in a
negative way.  It makes sense to have some of it here, but how do you
implicitly iterate across an array of arrays?  How do you implicitly
access portions of an array without getting the whole thing?

Luke

-- 
        Q: How many surrealists does it take to screw in a lightbulb?
        A: Two.  One to hold the giraffe and the other to fill the
bathtub with brightly colored machine tools.



From MAILER-DAEMON Wed Mar 05 05:26:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qW5X-0007zK-00
	for mharc-cfengine-develop@gnu.org; Wed, 05 Mar 2003 05:25:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qW5D-0007Kj-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 05:25:07 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qW4x-0006u5-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 05:24:52 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qW4j-0006d4-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 05:24:37 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h25AOTL04037
	for <cfengine-develop@nongnu.org>; Wed, 5 Mar 2003 10:24:30 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h25AOMf17723
	for <cfengine-develop@nongnu.org>; Wed, 5 Mar 2003 10:24:22 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 8F5DCFF1F
	for <cfengine-develop@nongnu.org>;
	Wed,  5 Mar 2003 10:24:17 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18qW4P-0005hd-00
	for <cfengine-develop@nongnu.org>; Wed, 05 Mar 2003 10:24:17 +0000
Date: Wed, 5 Mar 2003 10:24:17 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
Message-ID: <20030305102417.GA11516@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References:
	<DB52A7625347D211A1D70060B06AB1E205E70B97@exchange.cle.lionbioscience.com>
	<3E646225.20902@sara.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3E646225.20902@sara.nl>
X-Uptime: 09:52:27 up 14 days, 18:41,  8 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 05 Mar 2003 10:25:25 -0000

Quoting Bas van der Vlies <basv@sara.nl> (2003-03-04 08:21:57 GMT):
> I agree with Martin. I do not want a perl language with all kind of
> special chars to tell what kind of variable it is. It make the cfengine
> code less readable. I just trying it to avoid this style of programming 
> ;-). If we want to use arrays/list we must say that this variable is a 
> list. We can invent our own language (Like Chris suggested) or use the
> python style for lists (I am also a python programmer).

Zope has a <dtml-over> tag for iteration over a list, and <dtml-with>
to put an associative array into the current namespace. It is used
thus:

<dtml-over "mySimpleList">
  <a href="&dtml-item;">This item</a>
</dtml-over>

<dtml-over "myListOfDicts">
  <dtml-with "item">
    <a href="&dtml-webpage;">&dtml-description;</a>
  </dtml-with>
</dtml-over>


By analogy, Cfengine could have something like this:

control:
  rootCrontabs = [ { minute="05" command="gratuitousMonitor" },
                   { minute="10" command="pkill gratuitousMonitor" } ]

editfiles:
  linux::
    over rootCrontabs
      with item
        { /etc/cron.d/local
          AppendIfNoSuchLine "$(minute) * * * * root $(command)"
	}

Thinking about implementation details just for a moment, the 'over'
and 'with' keywords would overlay a namespace onto the base one so
you'd have:

namespace of 'item'
namespace of rootCrontabs which contains 'item' and maybe 'itemNumber'
base namespace (contains, for ecample, sysadm)

in order of visibility. This is also pleasant because if, for
example, you didn't want to define some properties for some
associative arrays, you could just use the default one lower down the
namespace stack:


control:
  minute = "10"
  hour = "*"
  day = "*"
  month = "*"
  dow = "*"
  user = "root"
  rootCrontabs = [ { command="hello" },
                   { minute="13" command="goodbye"}

editfiles:
  linux::
    over rootCrontabs with item
      { /etc/cron.d/local
      AppendIfNoSuchLine "$(minute) $(hour) $(day) $(month) ". \
        "$(dow) $(user) $(command)"
      }

Something else we need to look at is string interpolation. How to
stop it happening, how to cause it to be interpolated multiple times?

Perl has '' to mean don't interpolate; Python allows either '' or ""
and doesn't interpolate unless you give it an associative array to
work on, i.e.
  "Charlie had %(num) pigeon%(plural)" % {num="1", plural=""}

-- 
VIKING NORTH UTSIRE SOUTH UTSIRE FORTIES
SOUTHEAST 7 TO SEVERE GALE 9, OCCASIONALLY STORM 10 IN VIKING,
VEERING MAINLY SOUTH 5 TO 7. RAIN. MODERATE OR POOR, BECOMING GOOD
LATER



From MAILER-DAEMON Wed Mar 05 17:34:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qhT0-0007Y4-00
	for mharc-cfengine-develop@gnu.org; Wed, 05 Mar 2003 17:34:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qhSy-0007VZ-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 17:34:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qhSv-0007T2-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 17:34:22 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qhSu-0007Rg-00
	for cfengine-develop@nongnu.org; Wed, 05 Mar 2003 17:34:21 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP
	id B4AB01BF218; Wed,  5 Mar 2003 17:34:19 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])	by bluefish.cle.lionbioscience.com (Postfix) with ESMTP
	id D62B1DE20BA; Wed,  5 Mar 2003 17:34:20 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6PRB>; Wed, 5 Mar 2003 17:42:08 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70BCB@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: 'Andrew Stribblehill' <ads@debian.org>,
	cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
Date: Wed, 5 Mar 2003 17:42:07 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 05 Mar 2003 22:34:25 -0000

Cool. My first impression is that something like "with" and "over" namespace
manipulation would be perfect to resolve some of my yearnings. I have been
wanting to reuse an imported config file with different class and macro
settings within the same run. For example if I have a cfengine file that
would manage an /etc/init.d service (copies the script, manages the rc
links, makes sure the service is running). I would like to reimport that
file once for each service. I imagine something like this"

import:
  with {
	service="cfexecd"
	src_script=$(golddir)/cfexecd.init
	run_in_rc2=any
	reload=updated_config_files
	startnum=70
	killnum=30
	}
    sysvinit.cf

Note that I mix macro definitions and group/class definitions. Maybe the
difference between the two should be better indicated, but I would like
classes to be namespaced as well.

Not sure where you are going with multiple interpolation - how would you use
that. The current method to avoid single interpolation by escaping the
refence as "echo $(DOLLAR)(myvar)" has worked for me so far.

Martin

> -----Original Message-----
> From: Andrew Stribblehill [mailto:ads@debian.org]
> Sent: Wednesday, March 05, 2003 5:24 AM
> To: cfengine-develop@nongnu.org
> Subject: Re: [Cfengine-develop] Re: Homework
> 
...
> Zope has a <dtml-over> tag for iteration over a list, and <dtml-with>
> to put an associative array into the current namespace. It is used
> thus:
> 
> <dtml-over "mySimpleList">
>   <a href="&dtml-item;">This item</a>
> </dtml-over>
> 
> <dtml-over "myListOfDicts">
>   <dtml-with "item">
>     <a href="&dtml-webpage;">&dtml-description;</a>
>   </dtml-with>
> </dtml-over>
> 
> 
> By analogy, Cfengine could have something like this:
> 
> control:
>   rootCrontabs = [ { minute="05" command="gratuitousMonitor" },
>                    { minute="10" command="pkill gratuitousMonitor" } ]
> 
> editfiles:
>   linux::
>     over rootCrontabs
>       with item
>         { /etc/cron.d/local
>           AppendIfNoSuchLine "$(minute) * * * * root $(command)"
> 	}
> 
> Thinking about implementation details just for a moment, the 'over'
> and 'with' keywords would overlay a namespace onto the base one so
> you'd have:
> 
> namespace of 'item'
> namespace of rootCrontabs which contains 'item' and maybe 'itemNumber'
> base namespace (contains, for ecample, sysadm)
> 
> in order of visibility. This is also pleasant because if, for
> example, you didn't want to define some properties for some
> associative arrays, you could just use the default one lower down the
> namespace stack:
> 
> 
> control:
>   minute = "10"
>   hour = "*"
>   day = "*"
>   month = "*"
>   dow = "*"
>   user = "root"
>   rootCrontabs = [ { command="hello" },
>                    { minute="13" command="goodbye"}
> 
> editfiles:
>   linux::
>     over rootCrontabs with item
>       { /etc/cron.d/local
>       AppendIfNoSuchLine "$(minute) $(hour) $(day) $(month) ". \
>         "$(dow) $(user) $(command)"
>       }
> 
> Something else we need to look at is string interpolation. How to
> stop it happening, how to cause it to be interpolated multiple times?
> 
> Perl has '' to mean don't interpolate; Python allows either '' or ""
> and doesn't interpolate unless you give it an associative array to
> work on, i.e.
>   "Charlie had %(num) pigeon%(plural)" % {num="1", plural=""}
> 



From MAILER-DAEMON Thu Mar 06 05:38:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qsjy-0006TQ-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 05:36:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qsiq-00065t-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 05:35:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qsiZ-0005mv-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 05:35:19 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qsiW-0005fw-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 05:35:13 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26AZ9L20995
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 10:35:09 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26AYwf09970
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 10:34:58 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id C67B2FF1F
	for <cfengine-develop@nongnu.org>;
	Thu,  6 Mar 2003 10:34:57 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18qsiH-0005WO-00
	for <cfengine-develop@nongnu.org>; Thu, 06 Mar 2003 10:34:57 +0000
Date: Thu, 6 Mar 2003 10:34:57 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
Message-ID: <20030306103457.GC30870@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <DB52A7625347D211A1D70060B06AB1E205E70BCB@exchange.cle.lionbioscience.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BCB@exchange.cle.lionbioscience.com>
X-Uptime: 10:20:28 up 15 days, 19:09,  7 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 10:36:40 -0000

Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-03-05 10:42:07 GMT):
> Not sure where you are going with multiple interpolation - how would you use
> that. The current method to avoid single interpolation by escaping the
> refence as "echo $(DOLLAR)(myvar)" has worked for me so far.

Mmm, that's a lot of typing to stop it doing something you could
argue it shouldn't do anyway. Oh, and "echo not_a_function()" seems
to currently upset cfengine, causing it to complain that
not_a_function isn't a builtin function. Even when I replace () with
$(leftparen)$(rightparen), appropriately defined.

Multiple interpolation works like this:

control:
  foo = ( '$(bar)' ) # Not interpolated
  bar = ( "Baz" )

alerts:
  geese:: "There is a goose called '$(foo)' in the building." \
    with default with default

The last line tells it to interpolate using the variables in the
default namespace twice. First interpolation turns $(foo) into the
literal $(bar).  Second one works on the newly-created string and
turns $(bar) into 3.

It's a big culture shock to change a language from implicit
interpolation to explicit, however.

-- 
SOUTHEAST ICELAND
CYCLONIC BECOMING NORTHEAST 5 TO 7, PERHAPS GALE 8 LATER. OCCASIONAL
RAIN. MODERATE OR GOOD



From MAILER-DAEMON Thu Mar 06 07:05:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qu3C-0006Cj-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 07:00:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qu2T-0005t0-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 06:59:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qtxU-0004z9-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 06:54:45 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qtuY-0004kx-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 06:51:42 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP
	id 1AB331BF24D; Thu,  6 Mar 2003 06:51:41 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])	by bluefish.cle.lionbioscience.com (Postfix) with ESMTP
	id 1CC08DE20BA; Thu,  6 Mar 2003 06:51:42 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6RM7>; Thu, 6 Mar 2003 06:59:31 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70BD1@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: 'Andrew Stribblehill' <ads@debian.org>,
	cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
Date: Thu, 6 Mar 2003 06:59:29 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 12:00:35 -0000

Andrew,

I expected you meant this sort of mechanics for multiple interpolation - I
just think it is really dangerous and wanted to see an example use case. If
we did go with such a feature how about very explicit function-like wrappers
for it like:

	this = ( "that" )
	exactly = literal( "do not substitute $(this)")
	doubly = substitute( "$(exactly)" )

giving

this="that"
exactly="do not substitute $(this)"
double="do not substitute that"

Martin
----
Martin Andrews
martin.andrews@lionbioscience.com 

> -----Original Message-----
> From: Andrew Stribblehill [mailto:ads@debian.org]
> Sent: Thursday, March 06, 2003 5:35 AM
> To: cfengine-develop@nongnu.org
> Subject: Re: [Cfengine-develop] Re: Homework
> 
> 
> Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> 
> (2003-03-05 10:42:07 GMT):
> > Not sure where you are going with multiple interpolation - 
> how would you use
> > that. The current method to avoid single interpolation by 
> escaping the
> > refence as "echo $(DOLLAR)(myvar)" has worked for me so far.
> 
> Mmm, that's a lot of typing to stop it doing something you could
> argue it shouldn't do anyway. Oh, and "echo not_a_function()" seems
> to currently upset cfengine, causing it to complain that
> not_a_function isn't a builtin function. Even when I replace () with
> $(leftparen)$(rightparen), appropriately defined.
> 
> Multiple interpolation works like this:
> 
> control:
>   foo = ( '$(bar)' ) # Not interpolated
>   bar = ( "Baz" )
> 
> alerts:
>   geese:: "There is a goose called '$(foo)' in the building." \
>     with default with default
> 
> The last line tells it to interpolate using the variables in the
> default namespace twice. First interpolation turns $(foo) into the
> literal $(bar).  Second one works on the newly-created string and
> turns $(bar) into 3.
> 
> It's a big culture shock to change a language from implicit
> interpolation to explicit, however.
> 



From MAILER-DAEMON Thu Mar 06 07:10:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18quCO-0008Lz-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 07:10:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18quBS-0008D5-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 07:09:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qu9z-0007ag-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 07:07:40 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qu5F-0006WC-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 07:02:45 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26C2bL10925
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 12:02:37 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26C2Qf11966
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 12:02:26 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 8B153FF1F
	for <cfengine-develop@nongnu.org>;
	Thu,  6 Mar 2003 12:02:25 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18qu4v-0001Ys-00
	for <cfengine-develop@nongnu.org>; Thu, 06 Mar 2003 12:02:25 +0000
Date: Thu, 6 Mar 2003 12:02:25 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
Message-ID: <20030306120225.GD30870@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <DB52A7625347D211A1D70060B06AB1E205E70BD1@exchange.cle.lionbioscience.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BD1@exchange.cle.lionbioscience.com>
X-Uptime: 11:56:02 up 15 days, 20:45,  7 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 12:10:07 -0000

Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-03-06 11:59:29 GMT):
> Andrew,
> 
> I expected you meant this sort of mechanics for multiple interpolation - I
> just think it is really dangerous and wanted to see an example use case. If
> we did go with such a feature how about very explicit function-like wrappers
> for it like:
> 
> 	this = ( "that" )
> 	exactly = literal( "do not substitute $(this)")
> 	doubly = substitute( "$(exactly)" )
> 
> giving
> 
> this="that"
> exactly="do not substitute $(this)"
> double="do not substitute that"

The way people expect functions to work is that if strings are
implicitly interpolated, this will happen before the function is
given the string.

Python has a wart called r'' which lets you ensure that slashes
aren't interpreted as escape codes. We _could_ go that way to say for
example, l'do not substitute $(this)' but as you may have guessed
from my pejorative language, I don't like that.

Or we could go the Perl way and use '' for non-interpolated strings
and "" for interpolated ones, with the obvious drawbacks in that
scheme.

There's no perfect answer to this question.

-- 
MALIN
SOUTHWEST BACKING SOUTH 5 TO 7, PERHAPS GALE 8 LATER. RAIN LATER.
GOOD OCCASIONALLY MODERATE



From MAILER-DAEMON Thu Mar 06 09:14:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qw94-0005Nk-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 09:14:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qw92-0005Kr-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 09:14:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qw8i-0005B6-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 09:14:28 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qw8g-0005AF-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 09:14:26 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP
	id 868591BF269; Thu,  6 Mar 2003 09:14:26 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])	by bluefish.cle.lionbioscience.com (Postfix) with ESMTP
	id 8D983DE20BA; Thu,  6 Mar 2003 09:14:27 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6R5G>; Thu, 6 Mar 2003 09:22:16 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70BD6@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: 'Andrew Stribblehill' <ads@debian.org>,
	cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
Date: Thu, 6 Mar 2003 09:22:16 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 14:14:49 -0000

Fair enough - I agree that having a function around a quoted string to stop
interpolation is not intuitive. A different delimiter seems best. While
single quotes would be natural here they currently allow interpolation.
Unless we are planning major syntax breakage anyway I would not change the
behavior of single quotes. Using a different delimiter seems best - maybe
"""no interpolation""" (another pythonisms - though python uses it
differently).

Martin

> -----Original Message-----
> From: Andrew Stribblehill [mailto:ads@debian.org]
> Sent: Thursday, March 06, 2003 7:02 AM
> To: cfengine-develop@nongnu.org
> Subject: Re: [Cfengine-develop] Re: Homework
> 
> The way people expect functions to work is that if strings are
> implicitly interpolated, this will happen before the function is
> given the string.
> 
> Python has a wart called r'' which lets you ensure that slashes
> aren't interpreted as escape codes. We _could_ go that way to say for
> example, l'do not substitute $(this)' but as you may have guessed
> from my pejorative language, I don't like that.
> 
> Or we could go the Perl way and use '' for non-interpolated strings
> and "" for interpolated ones, with the obvious drawbacks in that
> scheme.
> 
> There's no perfect answer to this question.
> 
> -- 
> MALIN
> SOUTHWEST BACKING SOUTH 5 TO 7, PERHAPS GALE 8 LATER. RAIN LATER.
> GOOD OCCASIONALLY MODERATE
> 
> 
> _______________________________________________
> Cfengine-develop mailing list
> Cfengine-develop@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/cfengine-develop
> 



From MAILER-DAEMON Thu Mar 06 10:00:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qwrQ-00044V-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 10:00:40 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qwrA-0003nX-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:00:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qwr7-0003iu-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:00:21 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qwr2-0003Zu-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:00:16 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26F0BL22137
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 15:00:11 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h26F05f14789
	for <cfengine-develop@nongnu.org>; Thu, 6 Mar 2003 15:00:05 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 2FD73FF1F
	for <cfengine-develop@nongnu.org>;
	Thu,  6 Mar 2003 15:00:03 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18qwqo-0003z4-00
	for <cfengine-develop@nongnu.org>; Thu, 06 Mar 2003 15:00:02 +0000
Date: Thu, 6 Mar 2003 15:00:02 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Re: Homework
Message-ID: <20030306150002.GA8986@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <DB52A7625347D211A1D70060B06AB1E205E70BD6@exchange.cle.lionbioscience.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BD6@exchange.cle.lionbioscience.com>
X-Uptime: 14:57:54 up 15 days, 23:47,  8 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 15:00:27 -0000

Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-03-06 02:22:16 GMT):
> Fair enough - I agree that having a function around a quoted string to stop
> interpolation is not intuitive. A different delimiter seems best. While
> single quotes would be natural here they currently allow interpolation.
> Unless we are planning major syntax breakage anyway I would not change the
> behavior of single quotes. Using a different delimiter seems best - maybe
> """no interpolation""" (another pythonisms - though python uses it
> differently).

I think that we're working towards severe enough changes that
interpolation of '' strings isn't going to be a major issue. Stop me
right there if this isn't the case, Mark ;)

However, are we all agreed that strings should always be quoted
somehow? That's a bigger difference, to my mind, since it affects
things like signal=kill.

-- 
HEBRIDES BAILEY
WEST OR SOUTHWEST BECOMING CYCLONIC 6 TO GALE 8. SHOWERS THEN RAIN.
GOOD OCCASIONALLY MODERATE



From MAILER-DAEMON Thu Mar 06 10:16:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qx6Z-0006yY-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 10:16:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qx6H-0006Yr-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:16:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qx6B-0006Ot-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:15:56 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qx63-0006KM-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:15:47 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP
	id 30A621BF269; Thu,  6 Mar 2003 10:15:47 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])	by bluefish.cle.lionbioscience.com (Postfix) with ESMTP
	id 288A4DE20BA; Thu,  6 Mar 2003 10:15:48 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6SCL>; Thu, 6 Mar 2003 10:23:37 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70BD9@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: 'Andrew Stribblehill' <ads@debian.org>,
	cfengine-develop@nongnu.org
Subject: RE: [Cfengine-develop] Re: Homework
Date: Thu, 6 Mar 2003 10:23:37 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 15:16:18 -0000

Andrew,

I am not convinced that we must throw out backward compatibility for syntax
- sure some ugly parts should be deprecated at least. I think we should
strive to maintain compatibility until we absolutely have to. For example,
the network protocol incompatibility between 1.x and 2.x seemed gratuitous -
the 2.0 cfservd should have been able to talk to 1.x machines too (I am not
casting aspersions here - I understand that this would have required more
work and I didn't volunteer to do it). This incompatibility has slowed my
adoption of cfengine 2.x - I am only starting to roll it out now.

It it turns out that we can get some wonderful new features only via
incompatible syntax changes - so be it. I find that software developers are
too quick to dump compatibility.

All that said - maybe would could have runtime settings that controlled
whether single quotes did interpolation and begin deprecating interpolation
with them.

Oh yes - if it is not too painful to keep I like the unquoted strings in
cfengine. Just require quoted strings if you need white space in the string
(or if you want to avoid interpolation).

Martin

> -----Original Message-----
> From: Andrew Stribblehill [mailto:ads@debian.org]
> Sent: Thursday, March 06, 2003 10:00 AM
> To: cfengine-develop@nongnu.org
> Subject: Re: [Cfengine-develop] Re: Homework
> 
> I think that we're working towards severe enough changes that
> interpolation of '' strings isn't going to be a major issue. Stop me
> right there if this isn't the case, Mark ;)
> 
> However, are we all agreed that strings should always be quoted
> somehow? That's a bigger difference, to my mind, since it affects
> things like signal=kill.
> 



From MAILER-DAEMON Thu Mar 06 10:42:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qxT4-0002K1-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 10:39:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qxSo-0002G4-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:39:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qxSR-0002AC-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:38:58 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qxRc-0001rR-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:38:04 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.12.8/8.11.6) with ESMTP id h26Fc3dF007271
	for <cfengine-develop@nongnu.org>;
	Thu, 6 Mar 2003 09:38:03 -0600 (CST)
Date: Thu, 6 Mar 2003 09:38:03 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <20030306150002.GA8986@wompom>
Message-ID: <Pine.GSO.4.51.0303060935320.7223@pixie>
References: <DB52A7625347D211A1D70060B06AB1E205E70BD6@exchange.cle.lionbioscience.com>
	<20030306150002.GA8986@wompom>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 15:39:32 -0000

On Thu, 6 Mar 2003, Andrew Stribblehill wrote:

> However, are we all agreed that strings should always be quoted
> somehow? That's a bigger difference, to my mind, since it affects
> things like signal=kill.

I think this is a _great_ idea.  Current treatment of strings by the
parser is quite complicated and differs considerably depending on where
the string is used.

I'd very much like it if all strings had to be quoted; this includes
things like the filenames in 'editfiles' sections.  Currently the cfengine
tokenizer is very dependent on syntax to figure out what kind of token it
should return; quoting strings would solve a lot of that.  (And having
a line termination character like ';' would solve a lot more.)

-- 
Hiroshima '45               Chernobyl '86               Windows '95



From MAILER-DAEMON Thu Mar 06 10:58:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qxk8-00052y-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 10:57:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qxk5-00051I-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:57:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qxjc-0004si-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:56:41 -0500
Received: from www2.cle.lionbioscience.com ([63.69.121.227])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qxjB-0004pE-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 10:56:13 -0500
Received: from bluefish.cle.lionbioscience.com
	(bluefish.cle.lionbioscience.com [10.20.1.10])
	by www2.cle.lionbioscience.com (Postfix) with ESMTP
	id 7464F1BF244; Thu,  6 Mar 2003 10:56:13 -0500 (EST)
Received: from exchgcle.netgenics.com (exchgcle.cle.lionbioscience.com
	[10.20.1.6])	by bluefish.cle.lionbioscience.com (Postfix) with ESMTP
	id 4B1C5DE20BA; Thu,  6 Mar 2003 10:56:10 -0500 (EST)
Received: by exchange.cle.lionbioscience.com with Internet Mail Service
	(5.5.2653.19)	id <1DFL6S27>; Thu, 6 Mar 2003 11:03:59 -0500
Message-ID: <DB52A7625347D211A1D70060B06AB1E205E70BDB@exchange.cle.lionbioscience.com>
From: "Andrews, Martin" <mandrews@cle.lionbioscience.com>
To: "'Luke A. Kanies'" <luke@madstop.com>,
	Cfengine Developers <cfengine-develop@nongnu.org>
Subject: RE: [Cfengine-develop] Re: Homework
Date: Thu, 6 Mar 2003 11:03:58 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 15:57:10 -0000

Well heck. If others are okay with serious mangling of the syntax then I am
happy too. I still cling to having a preprocessor generate my cfengine
config files centrally so making the cfengine parser smaller and simpler
would benefit me (removing unnecessary complexity on the end cfengine runs
is good). Probably should target a translator for old scripts though.

Martin

> -----Original Message-----
> From: Luke A. Kanies [mailto:luke@madstop.com]
> Sent: Thursday, March 06, 2003 10:38 AM
> To: Cfengine Developers
> Subject: Re: [Cfengine-develop] Re: Homework
> 
> 
> On Thu, 6 Mar 2003, Andrew Stribblehill wrote:
> 
> > However, are we all agreed that strings should always be quoted
> > somehow? That's a bigger difference, to my mind, since it affects
> > things like signal=kill.
> 
> I think this is a _great_ idea.  Current treatment of strings by the
> parser is quite complicated and differs considerably 
> depending on where
> the string is used.
> 
> I'd very much like it if all strings had to be quoted; this includes
> things like the filenames in 'editfiles' sections.  Currently 
> the cfengine
> tokenizer is very dependent on syntax to figure out what kind 
> of token it
> should return; quoting strings would solve a lot of that.  (And having
> a line termination character like ';' would solve a lot more.)
> 



From MAILER-DAEMON Thu Mar 06 11:07:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qxtf-0000qJ-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 11:07:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qxpQ-0007f5-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:02:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qxoo-0007S0-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:02:03 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qxoI-0007GO-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:01:30 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.6) with ESMTP id h26G1Mqq008218;
	Thu, 6 Mar 2003 17:01:26 +0100 (MET)
Message-Id: <200303061601.h26G1Mqq008218@nexus.iu.hio.no>
Date: Thu, 6 Mar 2003 17:01:21 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Re: Homework
To: ads@debian.org
In-Reply-To: <20030306150002.GA8986@wompom>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 16:07:01 -0000

On  6 Mar, Andrew Stribblehill wrote:
> Quoting Andrews, Martin <mandrews@cle.lionbioscience.com> (2003-03-06
> 02:22:16 GMT):
>> Fair enough - I agree that having a function around a quoted string
>> to stop interpolation is not intuitive. A different delimiter seems
>> best. While single quotes would be natural here they currently allow
>> interpolation. Unless we are planning major syntax breakage anyway I
>> would not change the behavior of single quotes. Using a different
>> delimiter seems best - maybe """no interpolation""" (another
>> pythonisms - though python uses it differently).
> 
> I think that we're working towards severe enough changes that
> interpolation of '' strings isn't going to be a major issue. Stop me
> right there if this isn't the case, Mark ;)
> 
> However, are we all agreed that strings should always be quoted
> somehow? That's a bigger difference, to my mind, since it affects
> things like signal=kill.
> 



Some better string handling, with escapes and concatenation would
seem to be in order...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Thu Mar 06 11:09:31 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qxur-0001pW-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 11:08:17 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qxue-0001Zj-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:08:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qxsJ-0000dC-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:05:39 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qxqs-0008KC-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:04:10 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.6) with ESMTP id h26G41qq008313;
	Thu, 6 Mar 2003 17:04:05 +0100 (MET)
Message-Id: <200303061604.h26G41qq008313@nexus.iu.hio.no>
Date: Thu, 6 Mar 2003 17:04:00 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Re: Homework
To: mandrews@cle.lionbioscience.com
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BD9@exchange.cle.lionbioscience.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 16:08:15 -0000

On  6 Mar, Andrews, Martin wrote:
> Andrew,
> 
> I am not convinced that we must throw out backward compatibility for
> syntax
> - sure some ugly parts should be deprecated at least. I think we
> should strive to maintain compatibility until we absolutely have to.
> For example, the network protocol incompatibility between 1.x and 2.x
> seemed gratuitous - the 2.0 cfservd should have been able to talk to
> 1.x machines too (I am not casting aspersions here - I understand that
> this would have required more work and I didn't volunteer to do it).
> This incompatibility has slowed my adoption of cfengine 2.x - I am
> only starting to roll it out now.


It was partly deliberate - there is also a compatibility option
for upgrading, but for security reasons and efficiency reasons
it was decided that compatability would be sacrified.

 
> It it turns out that we can get some wonderful new features only via
> incompatible syntax changes - so be it. I find that software
> developers are too quick to dump compatibility.

It should be a goal as far as is reasonably possible.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Thu Mar 06 11:13:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qy01-0003d1-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 11:13:37 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qxx2-0003E2-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:10:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qxwT-0002wc-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:09:59 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qxuX-0001WB-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:07:57 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.6) with ESMTP id h26G7lqq008373;
	Thu, 6 Mar 2003 17:07:51 +0100 (MET)
Message-Id: <200303061607.h26G7lqq008373@nexus.iu.hio.no>
Date: Thu, 6 Mar 2003 17:07:47 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Re: Homework
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303060935320.7223@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 16:13:36 -0000

On  6 Mar, Luke A. Kanies wrote:
> On Thu, 6 Mar 2003, Andrew Stribblehill wrote:
> 
>> However, are we all agreed that strings should always be quoted
>> somehow? That's a bigger difference, to my mind, since it affects
>> things like signal=kill.
> 
> I think this is a _great_ idea.  Current treatment of strings by the
> parser is quite complicated and differs considerably depending on
> where the string is used.
> 
> I'd very much like it if all strings had to be quoted; this includes
> things like the filenames in 'editfiles' sections.  Currently the
> cfengine tokenizer is very dependent on syntax to figure out what kind
> of token it should return; quoting strings would solve a lot of that. 
> (And having a line termination character like ';' would solve a lot
> more.)

I'm not so sure about this. There is a logical and syntactical
difference between a path to a file and a quoted string.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Thu Mar 06 11:58:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qyfs-0001wN-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 11:56:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qydr-00017Q-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:54:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qyUL-0006Sa-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:44:58 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qyTi-000688-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 11:44:18 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.12.8/8.11.6) with ESMTP id h26Gi9vH007661
	for <cfengine-develop@nongnu.org>;
	Thu, 6 Mar 2003 10:44:11 -0600 (CST)
Date: Thu, 6 Mar 2003 10:44:09 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <200303061607.h26G7lqq008373@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303061037420.7454@pixie>
References: <200303061607.h26G7lqq008373@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 16:56:50 -0000

On Thu, 6 Mar 2003, Mark Burgess wrote:

> I'm not so sure about this. There is a logical and syntactical
> difference between a path to a file and a quoted string.

As I mentioned earlier, though, if you want to enforce that difference,
you basically have to have variable interpolation at parse time, which is
pretty nasty.

If your parser differentiates between file paths and other strings, then
it has to recognize that the following three configs are all equivalent:

#----------------
editfiles:
  { /path/to/file
    dostuff
  }
#----------------
control:
  var = ( "/path/to/file" )
editfiles:
  { ${var}
    dostuff
  }
#----------------
control:
  var1 = ( "/path" )
  var2 = ( "/to" )
  var3 = ( "/file" )
editfiles:
  { ${var1}${var2}${var3}
    dostuff
  }
#----------------

These examples all rely on hard information, so they could actually be
optimized at parse time, but it's not difficult to expand these examples
to the point where they can't be decided at parse time.

If you can't decide at parse time whether ${var} is a path, then how can
you treat it differently than a normal string?

I guess I basically think that it should be the responsibility of the
action to verify its input is valid; if it requires a valid path, then it
should verify that.  If you are instead encoding that information into the
core of cfengine, then you are too closely coupling the actions and the
cfengine core.

-- 
Computers are not intelligent.  They only think they are.



From MAILER-DAEMON Thu Mar 06 12:22:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qz26-0000O9-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 12:19:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qz1T-0008Vv-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 12:19:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qymb-0003WN-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 12:03:49 -0500
Received: from [207.65.26.13] (helo=pixie.madstop.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qyjw-0003NB-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 12:01:05 -0500
Received: from localhost (luke@localhost)
	by pixie.madstop.com (8.12.8/8.11.6) with ESMTP id h26H0sim007721
	for <cfengine-develop@nongnu.org>;
	Thu, 6 Mar 2003 11:00:54 -0600 (CST)
Date: Thu, 6 Mar 2003 11:00:53 -0600 (CST)
From: "Luke A. Kanies" <luke@madstop.com>
X-X-Sender: luke@pixie
To: Cfengine Developers <cfengine-develop@nongnu.org>
Subject: Re: [Cfengine-develop] Re: Homework
In-Reply-To: <200303061601.h26G1Mqq008218@nexus.iu.hio.no>
Message-ID: <Pine.GSO.4.51.0303061059030.7454@pixie>
References: <200303061601.h26G1Mqq008218@nexus.iu.hio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 17:19:49 -0000

On Thu, 6 Mar 2003, Mark Burgess wrote:

> Some better string handling, with escapes and concatenation would
> seem to be in order...

That example lexer/parser that I sent out earlier did have one tested and
functional piece:  The quoting portion works well, and allows multi-line
strings (which I think is an important feature).  I don't know if it can
be shoehorned into the current cfengine parser, but it might be worth
looking at.

-- 
"When I die, I want go out just like my grandfather, in his sleep,
peaceful and quiet...not kicking and screaming like the other guys in
his car"



From MAILER-DAEMON Thu Mar 06 22:17:42 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r8Mg-0001eB-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 22:17:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r8Mc-0001Ro-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:17:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r8MO-0000hg-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:17:26 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r8MN-0000gP-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:17:23 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout04.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HBC004A7ZSZB5@mtaout04.icomcast.net> for
	cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:17:23 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18r8MM-0005mb-00	for <cfengine-develop@nongnu.org>; Thu,
 06 Mar 2003 22:17:22 -0500
Date: Thu, 06 Mar 2003 22:17:22 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <200303030817.h238HGTv004680@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <874r6fzwzh.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 26
References: <200303030817.h238HGTv004680@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 03:17:41 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> There's that word again. Wiki? Don't know what that is, but the idea
> sounds right. Why not go ahead and set something up.

Currently there is no such feature offered in Savannah, I talked with
the sysadmins and one of them have something running in another host,
another sysadmin will try to incorporate it in Savannah, but don't
know when.

Is anybody out there who could provide hosting for a Cfengine
Community wiki or Faq-o-Matic?  I can offer doing the
install/configuration and maintenance.

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+aA9BMNObVRBZveYRAl2oAJ4ka/HKIPHA9l7GK9SNeFlcyriUKgCffur6
Lo0qjG0ZJSHt420mJhnMbmg=
=DRNG
-----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Mar 06 22:34:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r8cS-0001xa-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 22:34:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r8bx-0001KG-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:33:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r8bc-0000FF-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:33:12 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r8bF-00080W-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:32:45 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout01.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HBD002WB0IKYE@mtaout01.icomcast.net> for
	cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:32:44 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18r8bE-0005oi-00	for <cfengine-develop@nongnu.org>; Thu,
 06 Mar 2003 22:32:44 -0500
Date: Thu, 06 Mar 2003 22:32:43 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Stable and development versions
In-reply-to: <200303030848.h238mN0s005564@nexus.iu.hio.no>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87y93ryhpg.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 58
References: <200303030848.h238mN0s005564@nexus.iu.hio.no>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 03:33:58 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Burgess <mark@iu.hio.no> writes:

> Sounds great, but one reason for starting this group is to shield
> myself from some of this bug-fixing noise. I would like to see a
> split between
> 
> * patches that are bug fixes
> * patches that are feature requests
> 
> The latter need much more attention than the former. They are not necessarily
> to be accepted. 
> 
> I don't know what is a good way to do this. That is why I would like
> for us to meet.

In order to keep track of all the patches and avoid them falling
through the cracks, I suggest that we start using Savannah's Patch
Manager:

https://savannah.gnu.org/patch/?group=cfengine

So the couple of guys that have been bombarding 'bug-cfengine' could
submit patches there instead, and once we define who/what/how the
patches will be applied we can go and take them from there.

If somebody new sends a patch to the mailing list any of us could take
it an put it in the patch manager so it doesn't get lost.  I expect
that all of the "regulars" will do it by themselves.

This of course will require an announcement from Mark to the mailing
lists, the Patch Manager is ready to be used at the URL posted above,
if you want to create "categories" for patches tell me and I can set
them up.  I configured it to send email to bug-cfengine when a new
patch is submitted.


> What we are doing now is exactly what I was hoping to avoid --
> i.e. writing long emails that I have little time to read carefully
> and then misunderstanding one another. Everything is so much easier
> when we can look each other in the eye.

I understand, but I think this would be a little difficult, we have
people in Norway, England, USA and Netherlands.

Any ideas how we could get all together?

- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+aBLbMNObVRBZveYRAiO6AJ0YmdfXrIMZsYBAJ/IWQAgxhK3zgACfXYEU
66mg5jsVSO8BkETrGkb3rcM=
=XAdn
-----END PGP SIGNATURE-----



From MAILER-DAEMON Thu Mar 06 22:41:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r8jB-00042x-00
	for mharc-cfengine-develop@gnu.org; Thu, 06 Mar 2003 22:40:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r8j3-0003rB-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:40:49 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r8iq-0003K3-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:40:37 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r8ik-00031q-00
	for cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:40:30 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HBD00AZ80VIEW@mtaout05.icomcast.net> for
	cfengine-develop@nongnu.org; Thu, 06 Mar 2003 22:40:30 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18r8ik-0005qR-00	for <cfengine-develop@nongnu.org>; Thu,
 06 Mar 2003 22:40:30 -0500
Date: Thu, 06 Mar 2003 22:40:29 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Development plan / meeting
In-reply-to: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87smtzyhci.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 25
References: <BCBD56CACB85BF438D56A97E3122DC9A22D64F@multatuli.ka.sara.nl>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 03:40:55 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Bas van der Vlies" <basv@sara.nl> writes:

>  - Now we can check if processes are running but we can not
>    test the functionality of a process. Look if the http 
>    daemon is working properly. I know i can do it with modules.
>    Mabye we must setup a repository with monitor scripts for
>    different kind of daemons.

Yes, this is a very important thing that we need to address, but I
think this could be solved by having this library of scripts which
could be invoked either via modules or with ReturnsZero.


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+aBStMNObVRBZveYRAhAXAJ9lSBPNdqjUgLjuXXxuMLenzSAFbQCeIzsH
L2PqOBNFh8FzsQGpckFmmSE=
=3ivz
-----END PGP SIGNATURE-----



From MAILER-DAEMON Fri Mar 07 03:42:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDRH-0007ym-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:42:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDRF-0007v1-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:42:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDRD-0007tr-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:42:44 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDQN-0007X9-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:41:51 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278fjL29551
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:41:45 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278fhf19658
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:41:43 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 32467FF30
	for <cfengine-develop@nongnu.org>;
	Fri,  7 Mar 2003 08:41:43 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18rDQF-0006Xs-00
	for <cfengine-develop@nongnu.org>; Fri, 07 Mar 2003 08:41:43 +0000
Date: Fri, 7 Mar 2003 08:41:43 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Development plan / meeting
Message-ID: <20030307084143.GD16495@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <200303030817.h238HGTv004680@nexus.iu.hio.no>
	<874r6fzwzh.fsf@myrealbox.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <874r6fzwzh.fsf@myrealbox.com>
X-Uptime: 08:40:37 up 16 days, 17:30,  9 users,  load average: 0.01, 0.02,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:42:46 -0000

Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-07 03:17:22 GMT):
> Mark Burgess <mark@iu.hio.no> writes:
> 
> > There's that word again. Wiki? Don't know what that is, but the idea
> > sounds right. Why not go ahead and set something up.
> 
> Currently there is no such feature offered in Savannah, I talked with
> the sysadmins and one of them have something running in another host,
> another sysadmin will try to incorporate it in Savannah, but don't
> know when.
> 
> Is anybody out there who could provide hosting for a Cfengine
> Community wiki or Faq-o-Matic?  I can offer doing the
> install/configuration and maintenance.

I can offer you a shell/mail/web/cgi/php/zope account on
compsoc.dur.ac.uk if you want. I'm sure neither space nor bandwidth
is likely to be an issue.

-- 
HUMBER THAMES DOVER WIGHT
SOUTH 4 OR 5 INCREASING 5 TO 7, PERHAPS GALE 8 LATER, VEERING WEST
LATER. RAIN THEN SQUALLY SHOWERS. MODERATE OR GOOD



From MAILER-DAEMON Fri Mar 07 03:46:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDUv-000580-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:46:33 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDUR-0004Al-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:46:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDUI-0003qk-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:45:55 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDTx-0003gM-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:45:33 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.6) with ESMTP id h278jNqq024615;
	Fri, 7 Mar 2003 09:45:27 +0100 (MET)
Message-Id: <200303070845.h278jNqq024615@nexus.iu.hio.no>
Date: Fri, 7 Mar 2003 09:45:23 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Development plan / meeting
To: ads@debian.org
In-Reply-To: <20030307084143.GD16495@wompom>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:46:31 -0000

On  7 Mar, Andrew Stribblehill wrote:
> Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-07 03:17:22 GMT):
>> Mark Burgess <mark@iu.hio.no> writes:
>> 
>> > There's that word again. Wiki? Don't know what that is, but the
>> > idea sounds right. Why not go ahead and set something up.
>> 
>> Currently there is no such feature offered in Savannah, I talked with
>> the sysadmins and one of them have something running in another host,
>> another sysadmin will try to incorporate it in Savannah, but don't
>> know when.
>> 
>> Is anybody out there who could provide hosting for a Cfengine
>> Community wiki or Faq-o-Matic?  I can offer doing the
>> install/configuration and maintenance.
> 
> I can offer you a shell/mail/web/cgi/php/zope account on
> compsoc.dur.ac.uk if you want. I'm sure neither space nor bandwidth
> is likely to be an issue.
> 


The logical place to have this would be on www.cfengine.org?
If I only knew what a blasted Wiki was!!!!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Fri Mar 07 03:51:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDZP-0005qK-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:51:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDZG-0005Rq-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:51:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDZ5-0004zX-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:50:52 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDZ2-0004on-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:50:48 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278obL01411
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:50:37 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278oZf21436
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:50:35 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id AADD0FF30
	for <cfengine-develop@nongnu.org>;
	Fri,  7 Mar 2003 08:50:34 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18rDYo-0006Z9-00
	for <cfengine-develop@nongnu.org>; Fri, 07 Mar 2003 08:50:34 +0000
Date: Fri, 7 Mar 2003 08:50:34 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Stable and development versions
Message-ID: <20030307085034.GE16495@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <200303030848.h238mN0s005564@nexus.iu.hio.no>
	<87y93ryhpg.fsf@myrealbox.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87y93ryhpg.fsf@myrealbox.com>
X-Uptime: 08:43:29 up 16 days, 17:32,  9 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:51:10 -0000

Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-07 03:32:43 GMT):
> Mark Burgess <mark@iu.hio.no> writes:
> 
> > Sounds great, but one reason for starting this group is to shield
> > myself from some of this bug-fixing noise. I would like to see a
> > split between
> > 
> > * patches that are bug fixes
> > * patches that are feature requests
> 
> https://savannah.gnu.org/patch/?group=cfengine
> 
> This of course will require an announcement from Mark to the mailing
> lists, the Patch Manager is ready to be used at the URL posted above,
> if you want to create "categories" for patches tell me and I can set
> them up.  I configured it to send email to bug-cfengine when a new
> patch is submitted.

The two categories (bugfix and feature) that Mark suggested would be
useful.

One of the reasons I post to bug-cfengine rather than emailing Mark
is that I want others who have the same problem as I've just fixed to
be able to Google for it. I dobut anyone except Mark is very
interested in the patches I post /per se/ but they may very well be
concerned with the problem they aim to solve. Does your system have
any way to send the patch description to the list whilst keeping the
patch itself aside?

> > What we are doing now is exactly what I was hoping to avoid --
> > i.e. writing long emails that I have little time to read carefully
> > and then misunderstanding one another. Everything is so much easier
> > when we can look each other in the eye.
> 
> I understand, but I think this would be a little difficult, we have
> people in Norway, England, USA and Netherlands.
> 
> Any ideas how we could get all together?

.nl seems to be the cheapest option. It's about 300 UKP to get to
Norway from here but only half that for Amsterdam. (Of course, I'd be
even more pleased if you all decided to come to lovely Durham!)

-- 
ROCKALL
SOUTH OR SOUTHWEST 5 TO 7, OCCASIONALLY GALE 8, VEERING NORTHWEST
FOR A TIME IN SOUTH. SQUALLY WINTRY SHOWERS THEN RAIN. GOOD
OCCASIONALLY MODERATE



From MAILER-DAEMON Fri Mar 07 03:55:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDdp-0000wn-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:55:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDdm-0000wU-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:55:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDdl-0000wB-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:55:41 -0500
Received: from hermes.dur.ac.uk ([129.234.4.9])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDdk-0000vo-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:55:41 -0500
Received: from mercury.dur.ac.uk (mercury.dur.ac.uk [129.234.4.40])
	by hermes.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278tPL04738
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:55:25 GMT
Received: from womble.dur.ac.uk (postfix@womble.dur.ac.uk [129.234.2.142])
	by mercury.dur.ac.uk (8.11.6/8.11.1) with ESMTP id h278tJf22464
	for <cfengine-develop@nongnu.org>; Fri, 7 Mar 2003 08:55:19 GMT
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 7FCC6FF30
	for <cfengine-develop@nongnu.org>;
	Fri,  7 Mar 2003 08:55:19 +0000 (GMT)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18rDdP-0006a6-00
	for <cfengine-develop@nongnu.org>; Fri, 07 Mar 2003 08:55:19 +0000
Date: Fri, 7 Mar 2003 08:55:19 +0000
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] Development plan / meeting
Message-ID: <20030307085519.GF16495@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <20030307084143.GD16495@wompom>
	<200303070845.h278jNqq024615@nexus.iu.hio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200303070845.h278jNqq024615@nexus.iu.hio.no>
X-Uptime: 08:52:12 up 16 days, 17:41,  9 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.3i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-MailScanner: Found to be clean, Found to be clean
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:55:43 -0000

Quoting Mark Burgess <mark@iu.hio.no> (2003-03-07 08:45:23 GMT):
> On  7 Mar, Andrew Stribblehill wrote:
> > Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-07 03:17:22 GMT):
> >> Mark Burgess <mark@iu.hio.no> writes:
> >> 
> >> > There's that word again. Wiki? Don't know what that is, but the
> >> > idea sounds right. Why not go ahead and set something up.
> >> 
> >> Currently there is no such feature offered in Savannah, I talked with
> >> the sysadmins and one of them have something running in another host,
> >> another sysadmin will try to incorporate it in Savannah, but don't
> >> know when.
> >> 
> >> Is anybody out there who could provide hosting for a Cfengine
> >> Community wiki or Faq-o-Matic?  I can offer doing the
> >> install/configuration and maintenance.
> > 
> > I can offer you a shell/mail/web/cgi/php/zope account on
> > compsoc.dur.ac.uk if you want. I'm sure neither space nor bandwidth
> > is likely to be an issue.
> 
> The logical place to have this would be on www.cfengine.org?
> If I only knew what a blasted Wiki was!!!!

Even better :)

A Wiki is a set of web pages which anyone may edit or append to.
Typically links are created to refer to concepts, even though the
page linked to may not have been written -- the hope being that
someone will be willing to put content into the pre-assigned places.

-- 
PORTLAND PLYMOUTH BISCAY
SOUTH VEERING WEST 6 TO GALE 8, PERHAPS SEVERE GALE 9 LATER,
DECREASING 5 OR 6 LATER. RAIN OR SQUALLY SHOWERS. MODERATE OR GOOD



From MAILER-DAEMON Fri Mar 07 03:57:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDfe-0001Uv-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:57:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDfa-0001TN-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:57:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDfZ-0001Ss-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:57:33 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDfY-0001SO-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:57:32 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.6) with ESMTP id h278vJqq024984;
	Fri, 7 Mar 2003 09:57:23 +0100 (MET)
Message-Id: <200303070857.h278vJqq024984@nexus.iu.hio.no>
Date: Fri, 7 Mar 2003 09:57:19 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] Stable and development versions
To: ads@debian.org
In-Reply-To: <20030307085034.GE16495@wompom>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:57:35 -0000

On  7 Mar, Andrew Stribblehill wrote:
> Quoting Hugo Gayosso <hgayosso@gnu.org> (2003-03-07 03:32:43 GMT):
>> Mark Burgess <mark@iu.hio.no> writes:
>> 
>> > Sounds great, but one reason for starting this group is to shield
>> > myself from some of this bug-fixing noise. I would like to see a
>> > split between
>> > 
>> > * patches that are bug fixes
>> > * patches that are feature requests
>> 
>> https://savannah.gnu.org/patch/?group=cfengine
>> 
>> This of course will require an announcement from Mark to the mailing
>> lists, the Patch Manager is ready to be used at the URL posted above,
>> if you want to create "categories" for patches tell me and I can set
>> them up.  I configured it to send email to bug-cfengine when a new
>> patch is submitted.
> 
> The two categories (bugfix and feature) that Mark suggested would be
> useful.
> 
> One of the reasons I post to bug-cfengine rather than emailing Mark
> is that I want others who have the same problem as I've just fixed to
> be able to Google for it. I dobut anyone except Mark is very
> interested in the patches I post /per se/ but they may very well be
> concerned with the problem they aim to solve. Does your system have
> any way to send the patch description to the list whilst keeping the
> patch itself aside?


This also allows others to test the patches before I have time to
apply them. Adds quality control.


>> > What we are doing now is exactly what I was hoping to avoid --
>> > i.e. writing long emails that I have little time to read carefully
>> > and then misunderstanding one another. Everything is so much easier
>> > when we can look each other in the eye.
>> 
>> I understand, but I think this would be a little difficult, we have
>> people in Norway, England, USA and Netherlands.
>> 
>> Any ideas how we could get all together?
> 
> .nl seems to be the cheapest option. It's about 300 UKP to get to
> Norway from here but only half that for Amsterdam. (Of course, I'd be
> even more pleased if you all decided to come to lovely Durham!)

:) Yes -- NL or London are good options, due to  airports etc

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Fri Mar 07 03:59:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDhJ-000229-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 03:59:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDhG-00020V-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:59:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDcE-0000L6-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:54:07 -0500
Received: from mta.sara.nl ([145.100.16.144])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDcD-0000Kw-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 03:54:06 -0500
Received: from newton.ka.sara.nl (newton.ka.sara.nl [145.100.6.13])
	by mta.sara.nl (8.11.3/8.11.3) with ESMTP id h278s3E07517
	for <cfengine-develop@nongnu.org>;
	Fri, 7 Mar 2003 09:54:03 +0100 (MET)
Subject: RE: [Cfengine-develop] Re: Homework
From: Bas van der Vlies <basv@sara.nl>
To: cfengine-develop@nongnu.org
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BD9@exchange.cle.lionbioscience.com>
References: 
	<DB52A7625347D211A1D70060B06AB1E205E70BD9@exchange.cle.lionbioscience.com>
Content-Type: text/plain
Organization: 
Message-Id: <1047027235.20152.7.camel@newton.ka.sara.nl>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 
Date: 07 Mar 2003 09:53:56 +0100
Content-Transfer-Encoding: 7bit
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 08:59:19 -0000

I completly agree with this. We must have some backward compatibility
features or a script that converts to a new version. My process of
migration to cfengine 2 would be quicker if we had a daemon that serves
both protocols.

On Thu, 2003-03-06 at 16:23, Andrews, Martin wrote:
> Andrew,
> 
> I am not convinced that we must throw out backward compatibility for syntax
> - sure some ugly parts should be deprecated at least. I think we should
> strive to maintain compatibility until we absolutely have to. For example,
> the network protocol incompatibility between 1.x and 2.x seemed gratuitous -
> the 2.0 cfservd should have been able to talk to 1.x machines too (I am not
> casting aspersions here - I understand that this would have required more
> work and I didn't volunteer to do it). This incompatibility has slowed my
> adoption of cfengine 2.x - I am only starting to roll it out now.
> 
> It it turns out that we can get some wonderful new features only via
> incompatible syntax changes - so be it. I find that software developers are
> too quick to dump compatibility.
> 
> All that said - maybe would could have runtime settings that controlled
> whether single quotes did interpolation and begin deprecating interpolation
> with them.
> 
> Oh yes - if it is not too painful to keep I like the unquoted strings in
> cfengine. Just require quoted strings if you need white space in the string
> (or if you want to avoid interpolation).
> 
> Martin
> 
> > -----Original Message-----
> > From: Andrew Stribblehill [mailto:ads@debian.org]
> > Sent: Thursday, March 06, 2003 10:00 AM
> > To: cfengine-develop@nongnu.org
> > Subject: Re: [Cfengine-develop] Re: Homework
> > 
> > I think that we're working towards severe enough changes that
> > interpolation of '' strings isn't going to be a major issue. Stop me
> > right there if this isn't the case, Mark ;)
> > 
> > However, are we all agreed that strings should always be quoted
> > somehow? That's a bigger difference, to my mind, since it affects
> > things like signal=kill.
> > 
> 
> 
> _______________________________________________
> Cfengine-develop mailing list
> Cfengine-develop@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/cfengine-develop
-- 
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************






From MAILER-DAEMON Fri Mar 07 04:03:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rDl1-0005W8-00
	for mharc-cfengine-develop@gnu.org; Fri, 07 Mar 2003 04:03:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rDkj-00057c-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 04:02:53 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rDjr-0004ZU-00
	for cfengine-develop@nongnu.org; Fri, 07 Mar 2003 04:02:00 -0500
Received: from mta.sara.nl ([145.100.16.144])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rDjj-0004Uq-00; Fri, 07 Mar 2003 04:01:51 -0500
Received: from newton.ka.sara.nl (newton.ka.sara.nl [145.100.6.13])
	by mta.sara.nl (8.11.3/8.11.3) with ESMTP id h2791oE07711;
	Fri, 7 Mar 2003 10:01:50 +0100 (MET)
Subject: Re: [Cfengine-develop] Stable and development versions
From: Bas van der Vlies <basv@sara.nl>
To: Hugo Gayosso <hgayosso@gnu.org>
In-Reply-To: <87y93ryhpg.fsf@myrealbox.com>
References: <200303030848.h238mN0s005564@nexus.iu.hio.no>
	 <87y93ryhpg.fsf@myrealbox.com>
Content-Type: text/plain
Organization: 
Message-Id: <1047027702.20152.12.camel@newton.ka.sara.nl>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 
Date: 07 Mar 2003 10:01:42 +0100
Content-Transfer-Encoding: 7bit
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 09:03:09 -0000

Great idea to setup a patch manager.

On Fri, 2003-03-07 at 04:32, Hugo Gayosso wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mark Burgess <mark@iu.hio.no> writes:
> 
> > Sounds great, but one reason for starting this group is to shield
> > myself from some of this bug-fixing noise. I would like to see a
> > split between
> > 
> > * patches that are bug fixes
> > * patches that are feature requests
> > 
> > The latter need much more attention than the former. They are not necessarily
> > to be accepted. 
> > 
> > I don't know what is a good way to do this. That is why I would like
> > for us to meet.
> 
> In order to keep track of all the patches and avoid them falling
> through the cracks, I suggest that we start using Savannah's Patch
> Manager:
> 
> https://savannah.gnu.org/patch/?group=cfengine
> 
> So the couple of guys that have been bombarding 'bug-cfengine' could
> submit patches there instead, and once we define who/what/how the
> patches will be applied we can go and take them from there.
> 
> If somebody new sends a patch to the mailing list any of us could take
> it an put it in the patch manager so it doesn't get lost.  I expect
> that all of the "regulars" will do it by themselves.
> 
> This of course will require an announcement from Mark to the mailing
> lists, the Patch Manager is ready to be used at the URL posted above,
> if you want to create "categories" for patches tell me and I can set
> them up.  I configured it to send email to bug-cfengine when a new
> patch is submitted.
> 
> 
> > What we are doing now is exactly what I was hoping to avoid --
> > i.e. writing long emails that I have little time to read carefully
> > and then misunderstanding one another. Everything is so much easier
> > when we can look each other in the eye.
> 
> I understand, but I think this would be a little difficult, we have
> people in Norway, England, USA and Netherlands.
> 
> Any ideas how we could get all together?
> 
> - -- 
> Hugo Gayosso
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (GNU/Linux)
> 
> iD8DBQE+aBLbMNObVRBZveYRAiO6AJ0YmdfXrIMZsYBAJ/IWQAgxhK3zgACfXYEU
> 66mg5jsVSO8BkETrGkb3rcM=
> =XAdn
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Cfengine-develop mailing list
> Cfengine-develop@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/cfengine-develop
-- 
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************






From MAILER-DAEMON Sat Mar 08 10:51:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rgbM-0005ah-00
	for mharc-cfengine-develop@gnu.org; Sat, 08 Mar 2003 10:51:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rgbF-0005Ca-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:51:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rgb6-0004gH-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:50:56 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rgb4-0004a2-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:50:50 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HBF002FPTCPSJ@mtaout05.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:50:49 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18rgb2-0001rR-00	for <cfengine-develop@nongnu.org>; Sat,
 08 Mar 2003 10:50:48 -0500
Date: Sat, 08 Mar 2003 10:50:48 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Stable and development versions
In-reply-to: <20030307085034.GE16495@wompom>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87r89h7t7r.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 40
References: <200303030848.h238mN0s005564@nexus.iu.hio.no>
 <87y93ryhpg.fsf@myrealbox.com> <20030307085034.GE16495@wompom>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 08 Mar 2003 15:51:07 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Stribblehill <ads@debian.org> writes:

> > This of course will require an announcement from Mark to the mailing
> > lists, the Patch Manager is ready to be used at the URL posted above,
> > if you want to create "categories" for patches tell me and I can set
> > them up.  I configured it to send email to bug-cfengine when a new
> > patch is submitted.
> 
> The two categories (bugfix and feature) that Mark suggested would be
> useful.

Ok, I have added those two categories to the patch manager.


> One of the reasons I post to bug-cfengine rather than emailing Mark
> is that I want others who have the same problem as I've just fixed
> to be able to Google for it. I dobut anyone except Mark is very
> interested in the patches I post /per se/ but they may very well be
> concerned with the problem they aim to solve. Does your system have
> any way to send the patch description to the list whilst keeping the
> patch itself aside?

I am not sure, I will submit a patch for testing purposes, I think
only the description will go to the mailing list, but we'll see, but
when submitting a patch there is no "description" section only a
"paste your patch" here section (you can also attach a patch file).


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ahFXMNObVRBZveYRAr2rAJ9/8sSSIAJ+uy8Aav/2BtTcSVx+PgCeLGNC
S2kLen3hbCK1ahRm7mMCXXE=
=60tf
-----END PGP SIGNATURE-----



From MAILER-DAEMON Sat Mar 08 10:52:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rgcd-0000G4-00
	for mharc-cfengine-develop@gnu.org; Sat, 08 Mar 2003 10:52:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rgca-0000C2-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:52:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rgcQ-0008PM-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:52:15 -0500
Received: from smtp.comcast.net ([24.153.64.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rgcP-0008Mi-00
	for cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:52:13 -0500
Received: from gryphon (bgp01132149bgs.ypeast01.mi.comcast.net
	[68.42.116.157]) by mtaout06.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003))
	with ESMTP id <0HBF00GWZTF0KL@mtaout06.icomcast.net> for
	cfengine-develop@nongnu.org; Sat, 08 Mar 2003 10:52:13 -0500 (EST)
Received: from gnu by gryphon with local (Exim 3.36 #1 (Debian))
	id 18rgcO-0001rk-00	for <cfengine-develop@nongnu.org>; Sat,
 08 Mar 2003 10:52:12 -0500
Date: Sat, 08 Mar 2003 10:52:12 -0500
From: Hugo Gayosso <hgayosso@gnu.org>
Subject: Re: [Cfengine-develop] Stable and development versions
In-reply-to: <1047027702.20152.12.camel@newton.ka.sara.nl>
Sender: GNU User <hgayosso@myrealbox.com>
To: cfengine-develop@nongnu.org
Message-id: <87llzp7t5f.fsf@myrealbox.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Original-Original-Sender: hgayosso@gnu.org
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Lines: 20
References: <200303030848.h238mN0s005564@nexus.iu.hio.no>
 <87y93ryhpg.fsf@myrealbox.com> <1047027702.20152.12.camel@newton.ka.sara.nl>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 08 Mar 2003 15:52:26 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bas van der Vlies <basv@sara.nl> writes:

> Great idea to setup a patch manager.

Thanks, that was the very first reason why I proposed Mark to start
using Savannah. ;-)


- -- 
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+ahGrMNObVRBZveYRAt+RAJ4oRhWKzYI5FexQj7NByrj+rw70AgCeLfrh
CRANKZTm30KMpZFd3pu/DUo=
=Z4XV
-----END PGP SIGNATURE-----



From MAILER-DAEMON Mon Mar 17 04:41:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ur6s-00015X-00
	for mharc-cfengine-develop@gnu.org; Mon, 17 Mar 2003 04:40:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ur6k-0000nu-00
	for cfengine-develop@nongnu.org; Mon, 17 Mar 2003 04:40:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18ur4c-00086f-00
	for cfengine-develop@nongnu.org; Mon, 17 Mar 2003 04:38:29 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ur3S-000829-00
	for cfengine-develop@nongnu.org; Mon, 17 Mar 2003 04:37:15 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.8) with ESMTP id h2H9b2CX023789
	for <cfengine-develop@nongnu.org>;
	Mon, 17 Mar 2003 10:37:06 +0100 (MET)
Message-Id: <200303170937.h2H9b2CX023789@nexus.iu.hio.no>
Date: Mon, 17 Mar 2003 10:37:01 +0100 (MET)
From: Mark Burgess <mark@iu.hio.no>
To: cfengine-develop@nongnu.org
In-Reply-To: <DB52A7625347D211A1D70060B06AB1E205E70BDB@exchange.cle.lionbioscience.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
Subject: [Cfengine-develop] Starting..
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 17 Mar 2003 09:40:45 -0000


I have invited Alva Couch to our mailing list for discussion only.
Alva is writing a book about cfengine and has experience that will
be valuable to us.

I expect to be able to start properly from 1 April ;) 

Have to do a conference now, but more soon.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 31 05:07:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18zwBq-0006jj-00
	for mharc-cfengine-develop@gnu.org; Mon, 31 Mar 2003 05:06:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zwBa-0006Np-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 05:06:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zwBY-0006MS-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 05:06:37 -0500
Received: from nexus.iu.hio.no ([128.39.89.10])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18zwBP-0005tM-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 05:06:27 -0500
Received: from iu.hio.no (daneel.iu.hio.no [128.39.89.230])
	by nexus.iu.hio.no (8.12.8/8.12.8) with ESMTP id h2VA6BCX010369;
	Mon, 31 Mar 2003 12:06:17 +0200 (MEST)
Message-Id: <200303311006.h2VA6BCX010369@nexus.iu.hio.no>
Date: Mon, 31 Mar 2003 12:06:10 +0200 (MEST)
From: Mark Burgess <mark@iu.hio.no>
Subject: Re: [Cfengine-develop] New Parser/Lexer PoC
To: luke@madstop.com
In-Reply-To: <Pine.GSO.4.51.0303032126350.23487@pixie>
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang)
cc: cfengine-develop@nongnu.org
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 10:06:53 -0000


> So, with no further ado, you can find the lexer and parser here:
> 
> http://madstop.com/~luke/cfengine/cflex2.l
> http://madstop.com/~luke/cfengine/cfparse2.y
> 
> They aren't terribly well documented, either.  I can do so if people
> think this is a worthwhile experiment to explore, but I don't want to
> spend much more time on this if it's just going to be thrown away
> (which is what I expect to happen).
> 
> Enjoy!
> 
> Luke
> 


A little while ago, Luke proposed a new form for the parser.
Does anyone have any comments on this?

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From MAILER-DAEMON Mon Mar 31 06:58:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18zxvk-0004mJ-00
	for mharc-cfengine-develop@gnu.org; Mon, 31 Mar 2003 06:58:24 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zxu3-0003tf-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 06:56:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zxsq-00039m-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 06:55:35 -0500
Received: from womble.dur.ac.uk ([129.234.2.142])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18zxp8-0000wA-00
	for cfengine-develop@nongnu.org; Mon, 31 Mar 2003 06:51:34 -0500
Received: from wompom (wompom.dur.ac.uk [129.234.2.63])
	by womble.dur.ac.uk (Postfix) with ESMTP id 73010FF42
	for <cfengine-develop@nongnu.org>;
	Mon, 31 Mar 2003 12:51:33 +0100 (BST)
Received: from ads by wompom with local (Exim 3.36 #1 (Debian))
	id 18zxp7-0000ef-00
	for <cfengine-develop@nongnu.org>; Mon, 31 Mar 2003 12:51:33 +0100
Date: Mon, 31 Mar 2003 12:51:33 +0100
From: Andrew Stribblehill <ads@debian.org>
To: cfengine-develop@nongnu.org
Subject: Re: [Cfengine-develop] New Parser/Lexer PoC
Message-ID: <20030331115133.GP2277@wompom>
Mail-Followup-To: cfengine-develop@nongnu.org
References: <Pine.GSO.4.51.0303032126350.23487@pixie>
	<200303311006.h2VA6BCX010369@nexus.iu.hio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200303311006.h2VA6BCX010369@nexus.iu.hio.no>
X-Uptime: 12:30:44 up 40 days, 20:19,  9 users,  load average: 0.00, 0.00,
	0.00
User-Agent: Mutt/1.5.4i
Sender: Andrew Stribblehill <a.d.stribblehill@durham.ac.uk>
X-BeenThere: cfengine-develop@nongnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Cfengine developers <cfengine-develop.nongnu.org>
List-Help: <mailto:cfengine-develop-request@nongnu.org?subject=help>
List-Post: <mailto:cfengine-develop@nongnu.org>
List-Subscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/cfengine-develop>
List-Unsubscribe: <http://mail.nongnu.org/mailman/listinfo/cfengine-develop>,
	<mailto:cfengine-develop-request@nongnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 11:58:19 -0000

Quoting Mark Burgess <mark@iu.hio.no> (2003-03-31 11:06:10 BST):
> 
> > So, with no further ado, you can find the lexer and parser here:
> > 
> > http://madstop.com/~luke/cfengine/cflex2.l
> > http://madstop.com/~luke/cfengine/cfparse2.y
> > 
> > They aren't terribly well documented, either.  I can do so if people
> > think this is a worthwhile experiment to explore, but I don't want to
> > spend much more time on this if it's just going to be thrown away
> > (which is what I expect to happen).
> > 
> > Enjoy!
> > 
> > Luke
> > 
> 
> 
> A little while ago, Luke proposed a new form for the parser.
> Does anyone have any comments on this?

It's nice and simple, but I'm not sure it's scalable enough.

I should like to see almost all actions coded as plugins to the main
Cfengine system. This way, the ACL module, for example, never need be
built for those not wishing to use it. More importantly, it would
provide a nice way for third parties to extend Cfengine functionally
without being too tightly bound to Cfengine's parser etc.

So I guess my question is, how could we get there from here? If
Cfengine's parser could provide a hook for each action to interpret
the parse tree, this might work, though I think the parser may end up
a bit on the basic side.

Mark has admitted that the link parsing is ugly, and it does indeed
seem to be a special case in both the lexer and the parser. So let's
drop it in Cfengine 3, to be replaced by something like:

links:
  $(srcfile) dest=$(destfile)
  $(srcdir) dest=$(destdir) farm=yes  # To do the +> thing
  $(srcdir) dest=$(destdir) force=yes # For the ! thing

Many actions have basically a single token with arguments, like the
above examples. Can we coerce the actions into two basic types: the
simple ones like above:

  something [flag1=arg] ... [flagN=arg]

and the editfiles types with the following form:

  { something
  cmd1 [args]
  cmd2 [args]
  }

-- 
FORTH TYNE DOGGER
SOUTH VEERING SOUTHWEST 4 OR 5 INCREASING 6 OR 7, PERHAPS GALE 8
LATER FOR A TIME. RAIN FOR A TIME. MAINLY GOOD



