Cfengine Help: Re: creating a list from a list and a var (or even 2 lists) by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: creating a list from a list and a var (or even 2 lists) by interpolation Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,21397,21420#msg-21420 an interesting approach, thanks. However, on my box (ubuntu 10.04 with 3.x.x) it segfaults: body

Cfengine Help: Re: detecting new IP address?

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: detecting new IP address? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,21380,21419#msg-21419 One way is to keep a file locally, say perhaps dump the current interfaces with getindices and sys.ipv4. Use editfiles to insert the IPs, then use

Re: detecting new IP address?

2011-04-11 Thread Christopher Browne
On Sun, Apr 10, 2011 at 2:42 PM, Jesse Becker wrote: > Here's a question:  how does one detect a *new* IP address getting added > to a system? > > For example, if there's some mecahnism for bringing up a new interface > (such as failover/heartbeat mechanism), is there a way to detect this? > I sup

Cfengine Help: Re: Cfengine Help: Best practices advice - Cfengine + network file systems

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Best practices advice - Cfengine + network file systems Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,21405,21417#msg-21417 Thanks, Frans and Mark! -Jessica ___ Help-cfengine mai

Cfengine Help: Re: Best practices advice - Cfengine + network file systems

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Best practices advice - Cfengine + network file systems Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,21402,21416#msg-21416 Terrific. Thanks for the quick and helpful replies. -Jessica ___ Help-c

Re: detecting new IP address?

2011-04-11 Thread Ted Zlatanov
On Mon, 11 Apr 2011 14:47:26 -0500 Ted Zlatanov wrote: TZ> Detecting new interfaces can be done with ifconfig -a, again, or by TZ> looking at /proc/net/dev. Actually it would be really nice if cfengine produced the list of interfaces in addition to the current net_iface_* classes. It's already

Cfengine Help: Re: Behaviour change in 3.1.4

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Behaviour change in 3.1.4 Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,21358,21413#msg-21413 Hmm it looks that I found the "solution" had to change following line from : "pw" int => readstringarray("rpw","$(sys.workdir)/ppkeys/rootpw.txt

Re: detecting new IP address?

2011-04-11 Thread Ted Zlatanov
On Sun, 10 Apr 2011 14:42:11 -0400 Jesse Becker wrote: JB> Here's a question: how does one detect a *new* IP address getting added JB> to a system? JB> For example, if there's some mecahnism for bringing up a new interface JB> (such as failover/heartbeat mechanism), is there a way to detect th

Cfengine Help: Re: creating a list from a list and a var (or even 2 lists) by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: creating a list from a list and a var (or even 2 lists) by interpolation Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21397,21412#msg-21412 If you know that oct2 will always be a string, and oct4 will always be an slist, you can try somethi

Cfengine Help: Re: Behaviour change in 3.1.4

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Behaviour change in 3.1.4 Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21358,21411#msg-21411 You would probably see them in debug mode, try -d2 Cheers, --Nakarin ___ Help-cfengine mailing list

Cfengine Help: Women Jordan 6 High Heels

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Women Jordan 6 High Heels Author: wuzinan Link to topic: https://cfengine.com/forum/read.php?3,21410,21410#msg-21410 jordan sneakers is true - that celebrity Jordan shoes for women is a triple dose of Nike Air Jordan. Whether you love or hate her, Britney is theOne o

Cfengine Help: Re: Behaviour change in 3.1.4

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Behaviour change in 3.1.4 Author: shownoob Link to topic: https://cfengine.com/forum/read.php?3,21358,21409#msg-21409 โหดสุดยอด !! ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/l

Re: Cfengine Help: Best practices advice - Cfengine + network file systems

2011-04-11 Thread Mark Burgess
There is also sensiblesize etc checks in the nfs mounting code in storage promises. If you get cfengine to monitor the mounting or even do the mounting, this comes for free. On 11/04/11 17:14, Frans Lawaetz wrote: > >> I'm interested in hearing feedback from the development team and community

Fwd: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread Mark Burgess
No autogen.sh should be necessary to build from the tar ball. We'll fix this with a new tarball tomorrow. On 11/04/11 16:59, Erik Mouw wrote: > On Apr 11, 2011, at 14:20, Mikhail Gusarov wrote: > >> On 11.04.2011 14:11, no-re...@cfengine.com wrote: >> >>> I have a configure error: >> >> This pr

Cfengine Help: Re: Best practices advice - Cfengine + network file systems

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Best practices advice - Cfengine + network file systems Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,21402,21406#msg-21406 While I agree with Neil, I'd further share that I usually make the permissions on underlying mountpoints 0:0/0555 so t

Re: Cfengine Help: Best practices advice - Cfengine + network file systems

2011-04-11 Thread Frans Lawaetz
> I'm interested in hearing feedback from the development team and community > about using Cfengine with network file systems. Here's the specific problem > that prompts the request: > > I'm writing policy that creates directories and files on an NFS share if and > only if they do not already

Cfengine Help: Re: Best practices advice - Cfengine + network file systems

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Best practices advice - Cfengine + network file systems Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21402,21403#msg-21403 I think that these policies should be enforced on the source of the filesystem where it will be local. If that

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread Erik Mouw
On Apr 11, 2011, at 14:20, Mikhail Gusarov wrote: > On 11.04.2011 14:11, no-re...@cfengine.com wrote: > >> I have a configure error: > > This problem will be corrected in another beta release. For the time > being you could use autogen.sh to re-generate proper configure/Makefile.in. No autogen

Cfengine Help: Best practices advice - Cfengine + network file systems

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Best practices advice - Cfengine + network file systems Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,21402,21402#msg-21402 I'm interested in hearing feedback from the development team and community about using Cfengine with network file systems

Cfengine Help: Re: Behaviour change in 3.1.4 - see array contents

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Behaviour change in 3.1.4 - see array contents Author: hristob Link to topic: https://cfengine.com/forum/read.php?3,21358,21401#msg-21401 Just to troubleshot how I can see contents of the array? I suspect the change is in readstringarray function. __

Cfengine Help: Re: creating a list from a list and a var (or even 2 lists) by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: creating a list from a list and a var (or even 2 lists) by interpolation Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,21397,21400#msg-21400 To be fully understood, your definition of "namesrv" iterates over slist exactly the same

Cfengine Help: Re: creating a list from a list and a var (or even 2 lists) by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: creating a list from a list and a var (or even 2 lists) by interpolation Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,21397,21399#msg-21399 thanks for the quick answer. Probably I'm still too much in the programming-corner of the business.

Cfengine Help: Re: creating a list from a list and a var (or even 2 lists) by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: creating a list from a list and a var (or even 2 lists) by interpolation Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21397,21398#msg-21398 I think that since all of the variables in the same bundle you can't expect any to be ready fo

Cfengine Help: creating a list from two lists by interpolation

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: creating a list from two lists by interpolation Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,21397,21397#msg-21397 Hi, this might have been asked before, so apologies if so, but due to the generic keywords I wasn't able to find a solution: Wh

Cfengine Help: Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21395,21396#msg-21396 $ find -name autogen.sh returns nothing. ___ Help-cfengine mailing list Help-cfengine

Re: Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread Mikhail Gusarov
On 11.04.2011 14:11, no-re...@cfengine.com wrote: > I have a configure error: This problem will be corrected in another beta release. For the time being you could use autogen.sh to re-generate proper configure/Makefile.in. -- Mikhail Gusarov ___ Help

Re: Cfengine Help: Re: detecting new IP address?

2011-04-11 Thread Jesse Becker
On Mon, Apr 11, 2011 at 08:01:04AM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: detecting new IP address? >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,21380,21392#msg-21392 > >If you know what the IP address of the interface is then you could

Cfengine Help: Re: 3.1.5 beta release

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: 3.1.5 beta release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21391,21393#msg-21393 I have a configure error: Summary of options... -> Configured with PCRE libraries -> No SQL library support for knowledge map -> No LDAP libraries inc

Cfengine Help: Re: detecting new IP address?

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: Re: detecting new IP address? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21380,21392#msg-21392 If you know what the IP address of the interface is then you could go by the hard class when it exists. Without the IP I don't see any easy w

Cfengine Help: 3.1.5 beta release

2011-04-11 Thread no-reply
Forum: Cfengine Help Subject: 3.1.5 beta release Author: mark Link to topic: https://cfengine.com/forum/read.php?3,21391,21391#msg-21391 A release candidate for 3.1.5 is now available on www.cfengine.org downloads ___ Help-cfengine mailing list Help-cfe