Re: Regex behavior in Cf3

2010-09-03 Thread Tod Oace
Oops...missed that part. Sounds good. I like it. -Tod On Sep 3, 2010, at 4:32 PM, Daniel V. Klein wrote: > My complete proposal said "don't change the default behavior - only introduce > the new behavior if you add the special control variable". So, I think the > new behavior could safely b

Re: Regex behavior in Cf3

2010-09-03 Thread Daniel V. Klein
My complete proposal said "don't change the default behavior - only introduce the new behavior if you add the special control variable". So, I think the new behavior could safely be introduced without worry, as it would be turned off by default. -Dan On Sep 3, 2010, at 7:19 PM, Tod Oace wrote

Re: Regex behavior in Cf3

2010-09-03 Thread Tod Oace
On Sep 1, 2010, at 11:53 AM, Daniel V. Klein wrote: >> /^($(regexes))$/ # The slist contains strings, but they are >> expanded and then the result is interpreted as a regex I like that. It's very familiar syntax, and solves the problem you describe of controlling when regular expres

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Remi Link to topic: https://cfengine.com/forum/read.php?3,18038,18072#msg-18072 Another good way to deal with typos is to use the failsafe documented on Watsons howto. http://watson-wilson.ca/blog/c

Cfengine Help: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18070,18071#msg-18071 Since CF is convergent it will fix the damaged files on the next run. A more urgent although expensive

Re: Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-03 Thread Mike Svoboda
Ah. I noticed that performing a kill -15 on cf-serverd, a client was in mid-transfer of some new configs. I checked on the client that spewed some errors via cf-execd, and indeed, there were files on the client that were in bad shape. Maybe a feature request to have a "graceful shutdown" so cf-s

Cfengine Help: Re: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18067,18069#msg-18069 I was going to suggest looking at Neil's tutorial, which is what largely clarified the actual practical setup for me in the beginning, good to

Cfengine Help: Re: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Problem with network set up Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18067,18068#msg-18068 Cfengine reads the file promises.cf first. This file must be available. All other files can be read into the promises file using the 'inpu

Cfengine Help: Problem with network set up

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Problem with network set up Author: gurkensalat Link to topic: https://cfengine.com/forum/read.php?3,18067,18067#msg-18067 Hi everyone, I want to set up cfengine on cygwin on two Win XP VMware Images. I read the official tutorial (http://www.cfengine.org/manuals/cf3

Cfengine Help: Re: Best way to gracefully stop cfengine daemons?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Best way to gracefully stop cfengine daemons? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18065,18066#msg-18066 A normal kill should do the trick. There is no built in terminate mechanism that I am aware of.

Best way to gracefully stop cfengine daemons?

2010-09-03 Thread Mike Svoboda
Is there a preferred way of stopping cf-serverd and cf-execd so they exit in a graceful manor? Should I be sending a kill –15 to the daemons, or is there a better way of letting them “clean up and finish” in a non-disruptive manor. Thanks! Mike ___ H

Cfengine Help: Re: vars policy => "ifdefined" broken

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: vars policy => "ifdefined" broken Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18061,18063#msg-18063 I'm pretty sure there must be no comma before policy => "ifdefined";. The parser takes it wrong way, though, so I'm pretty sure it

Re: Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread Jesse Becker
On Wed, Sep 01, 2010 at 01:18:18PM -0400, no-re...@cfengine.com wrote: >Forum: Cfengine Help >Subject: Re: So any syntax errors cause site wide cfengine 3 outages? >Author: neilhwatson >Link to topic: https://cfengine.com/forum/read.php?3,18038,18039#msg-18039 > >You can base the inputs clause on c

Cfengine Help: Re: vars policy => "ifdefined" broken

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: vars policy => "ifdefined" broken Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18061,18062#msg-18062 It does look a little suspicious. You can search and file bugs here: https://cfengine.com/bugtracker/my_view_page.php __

Cfengine Help: vars policy => "ifdefined" brok en

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: vars policy => "ifdefined" broken Author: lukebigum Link to topic: https://cfengine.com/forum/read.php?3,18061,18061#msg-18061 Hi all, I have some interesting behaviour with the vars menu option 'policy => "ifdefined"'. It seems to give some unpredictable behaviour.

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18038,18060#msg-18060 Well, there are two possible solutions: bundle common g { vars: HTTP_SERVER:: "stdin" s

Cfengine Help: Re: hostname or DNS problem

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: hostname or DNS problem Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18052,18059#msg-18059 Agreed. This network does have some less maintained roads but I'm not entirely convinced that it or DNS is to blame. I've never seen a DNS loo

Cfengine Help: Re: So any syntax errors cause site wide cfengine 3 outages?

2010-09-03 Thread no-reply
Forum: Cfengine Help Subject: Re: So any syntax errors cause site wide cfengine 3 outages? Author: lukebigum Link to topic: https://cfengine.com/forum/read.php?3,18038,18058#msg-18058 Seva, Have you got something like the following? FTP_SERVER:: inputs => { "ftp.cf" }; HTTP_SERVER:: inputs =