Cfengine Help: Re: Daemon Checks

2010-09-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18350,18503#msg-18503 I agree with Seva. You seem to be translating Bourne shell directly into Cfengine. I would try to learn a bit more about the promise "convergent approach" to wr

Cfengine Help: Re: Daemon Checks

2010-09-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18350,18502#msg-18502 You're writing promises which are just too complex. I agree with Neil here: start with simple things and add functionality gradually, trying to keep i

Cfengine Help: Re: Daemon Checks

2010-09-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18350,18501#msg-18501 Hi Seva, Thankyou for taking the time to look into this; unfortunately, no results. Since my last post I'd modified that bundle, however here it is amended as

Cfengine Help: Re: Daemon Checks

2010-09-25 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18350,18462#msg-18462 would recommend to use more specific class names because classes defined by body classes become global. It may happen that you use the same class name

Cfengine Help: Re: Daemon Checks

2010-09-21 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18350,18386#msg-18386 Try running the agent with -I as it will give more information about the actions it is taking. If you still can't find anything then go verbose, -v. Th

Cfengine Help: Re: Daemon Checks

2010-09-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18350,18382#msg-18382 Hi Diego, If you look at the output, you can see that this isn't the case; specifically here: I stop the service, then run cf-agent: ochus:/srv/sysconf# /etc/

Cfengine Help: Re: Daemon Checks

2010-09-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18350,18362#msg-18362 Is the "^dnsmasq" regular expression correct? If dnsmasq appears with its full path in the process list, for example, then the regex would not match, and cf

Cfengine Help: Re: Daemon Checks

2010-09-20 Thread no-reply
Forum: Cfengine Help Subject: Re: Daemon Checks Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18350,18351#msg-18351 Here's the output for the above: ochus:/srv/sysconf# /etc/init.d/dnsmasq stop Stopping DNS forwarder and DHCP server: dnsmasq. ochus:/srv/sysconf# cf-agent -K R