Re: Logic headache

2010-09-14 Thread Max Arnold
On Tue, Sep 14, 2010 at 08:57:58PM +0200, no-re...@cfengine.com wrote: > Seva Gluschenko Wrote: > --- > > first two expressions aren't exactly equivalent. > > !Sunday.!Morning.!dev_env.!phost is equal to > > !(Sunday|Morning|dev_env|phost). > > I

Cfengine Help: Re: managing mobile clients

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: managing mobile clients Author: erik Link to topic: https://cfengine.com/forum/read.php?3,18189,18243#msg-18243 also remember that cfengine works fine without access to the policy server, so the cfengine 'clients' can manage their client-side VPN autonomously /E

Re: Cfengine Help: Logic headache

2010-09-14 Thread Nicolas Charles
Hi, Your expression is equivalent to !Sunday¦!Morning¦!dev_env¦!phost Regards no-re...@cfengine.com a écrit : >Forum: Cfengine Help >Subject: Logic headache >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,18232,18232#msg-18232 > >I'm having a calculus flashback. Sho

Re: Cfengine Help: Re: Cfengine Help: Cfengine2 and diskless cluster

2010-09-14 Thread Mike Hoskins
On 9/14/10 12:41 PM, "no-re...@cfengine.com" wrote: > This sounds good. Just to make sure I'm following you: > > In the netboot image I create /etc/classes/readonly, and then set the read > only class if this exists? > (I'm pretty new to cfengine and haven't done /etc/classes) > > classes: >

Cfengine Help: Re: Cfengine Help: Cfengine2 and diskless cluster

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Cfengine2 and diskless cluster Author: rpoyner Link to topic: https://cfengine.com/forum/read.php?3,18231,18240#msg-18240 Mike, This sounds good. Just to make sure I'm following you: In the netboot image I create /etc/classes/readonly, and then se

Re: Cfengine Help: Re: Logic headache

2010-09-14 Thread Ed Voncken
Hi, > So '!(Sunday|Morning|dev_env|phost)" means not Sunday and not morning and not > dev_env and not phost? Yes; I read this as follows: "It cannot be Sunday, or Morning, or dev_env, or phost." Boolean logic can be confusing ;-) Greetings, Ed Voncken. __

Re: Cfengine Help: Who's going to promise this - Forums Fubar

2010-09-14 Thread Ed - 0x1b, Inc.
see it works! reply all and help-cfengine@cfengine.org is the key - thx, pardon tha noise On Tue, Sep 14, 2010 at 12:10 PM, wrote: > Forum: Cfengine Help > Subject: Who's going to promise this - Forums Fubar > Author: Ed > Link to topic: https://cfengine.com/forum/read.php?3,18042,18237#msg-182

Cfengine Help: Who's going to promise this - Forums Fubar

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Who's going to promise this - Forums Fubar Author: Ed Link to topic: https://cfengine.com/forum/read.php?3,18042,18237#msg-18237 I am impressed - the email response works. The threading brakes, but the forum and the list are a mirror, and that is what counts. now if

Cfengine Help: Re: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Logic headache Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18232,18236#msg-18236 So '!(Sunday|Morning|dev_env|phost)" means not Sunday and not morning and not dev_env and not phost? ___ Hel

Cfengine Help: Re: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Logic headache Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18232,18235#msg-18235 Seva Gluschenko Wrote: --- > first two expressions aren't exactly equivalent. > !Sunday.!Morning.!dev_

Re: Logic headache

2010-09-14 Thread Daniel V. Klein
Nope. What you're forgetting is the DeMorgan Laws. !A & !B <=> ! (A | B) !(A & B) <=> !A | !B -Dan On Sep 14, 2010, at 2:16 PM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Logic headache > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,18232,182

Cfengine Help: Re: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Logic headache Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18232,18233#msg-18233 Neil, first two expressions aren't exactly equivalent. !Sunday.!Morning.!dev_env.!phost is equal to !(Sunday|Morning|dev_env|phost). Last expressio

Cfengine Help: Logic headache

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Logic headache Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18232,18232#msg-18232 I'm having a calculus flashback. Shouldn't these two classes be equivalent? 1. !(Sunday.Morning.dev_env.phost) 2. !Sunday.!Morning.!dev_env.!phost Further

Re: Cfengine Help: Cfengine2 and diskless cluster

2010-09-14 Thread Mike Hoskins
On 9/14/10 8:55 AM, "no-re...@cfengine.com" wrote: > Forum: Cfengine Help > Subject: Cfengine2 and diskless cluster > Author: rpoyner > Link to topic: https://cfengine.com/forum/read.php?3,18229,18229#msg-18229 > > I have a couple of small clusters (~20 nodes each) that I manage, that I'd > like

Cfengine Help: Re: Cfengine2 and diskless cluster

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine2 and diskless cluster Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18229,18230#msg-18230 What about managing the export at the source rather than the client? ___ Help-cfengine mailin

Cfengine Help: Cfengine2 and diskless cluster

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Cfengine2 and diskless cluster Author: rpoyner Link to topic: https://cfengine.com/forum/read.php?3,18229,18229#msg-18229 I have a couple of small clusters (~20 nodes each) that I manage, that I'd like to add to my cfengine2 setup. I've hesitated because I was unsure

Cfengine Help: Re: Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18218,18228#msg-18228 Daniel V. Klein Wrote: --- > > There isn't anything with that s

Cfengine Help: Re: Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18215,18227#msg-18227 Thanks Mike. ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Cfengine Help: Re: Questions about the reference manual

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Questions about the reference manual Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18107,18226#msg-18226 neilhwatson Wrote: --- > In my opinion all sysadmins should have some basic > progr

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: howardk Link to topic: https://cfengine.com/forum/read.php?3,18222,18225#msg-18225 After a little head banging here is the result: Needed to changed the sed delimiters to # instead of / (don't know why), then the string

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18222,18224#msg-18224 Nicola, I typically keep a list of services in the policy and run them against chkconfig. You can tell by the return value if the

Cfengine Help: Re: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Populating slist from an execresult Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18222,18223#msg-18223 Nicola, the truth is, execresult returns a string. You need splitstring() call to produce an slist from a string.

Cfengine Help: Populating slist from an execresult

2010-09-14 Thread no-reply
Forum: Cfengine Help Subject: Populating slist from an execresult Author: nbianchi Link to topic: https://cfengine.com/forum/read.php?3,18222,18222#msg-18222 We grabbed the HPC configuration example from the solutions guide and we're using it as a base for assuring that sevices that are chkconfig

Re: Cfengine Help: Re: Persistent classes

2010-09-14 Thread Trond Hasle Amundsen
Paul Krizak writes: > I think the value in this case is less in the simplicity of the code, > and more in the fact that it allows you to fully document the > intentions/behavior of a given promise without having to resort to 3rd > party code, i.e. the promise becomes self-documenting. My thou

Re: managing mobile clients

2010-09-14 Thread Ed - 0x1b, Inc.
On Mon, Sep 13, 2010 at 8:13 AM, Max Arnold wrote: > On Mon, Sep 13, 2010 at 05:07:17PM +0200, no-re...@cfengine.com wrote: >> You could tunnel over VPN since you would control the end point IP. > > Managing client-side VPN configuration is one of the tasks I want to > accomplish with Cfengine :)