Stop service from restarting everytime cfengine runs

2010-04-02 Thread Patrick de Ruiter
Gent's   I' currently got the following problem:   Every time cfengine run's it restarts the ssh daemon even when nothing is changed. How do I change this behaviour?   bundle agent sshd_config {     files:     linux::     # Copy the sshd server configuration file     "/etc

problem with phost variable

2010-03-31 Thread Patrick de Ruiter
Gent's,   I'm trying to create a promise for ntp clients, as far as I can see (with my rather limited cfengine3 skills) the sytax is ok. But it keeps complaining about that it cant resolve the phost variable when it executes the ntp promisses. The phost variable is set in promisses.cf also d

RE: Re: Hostname lookups failing

2010-03-16 Thread Patrick de Ruiter
mises, so I first removed the newly added promises to revert back to the previous state but the problem didn't go away     Regards, Patrick de Ruiter -Original message- From: Mark Burgess Sent: Tue 16-03-2010 10:28 To: Patrick de Ruiter ; CC: help-cfengine@cfengine.org; S

Hostname lookups failing

2010-03-16 Thread Patrick de Ruiter
ever when I do a dig of the hostname i't doesn't have these kind of problems.     Any sugestions are welcome   Regards, Patrick de Ruiter Senior Unix Egineer Vancis B.V.     ___ Help-cfengine mailing list Help-cfengine@cfengine.or

Howto escape double qoutes used in a string

2010-03-15 Thread Patrick de Ruiter
Hi Guys,   I'm currently strugling with the problem of  escaping double quotes in a string.      vars:   linux.!redhat_s_4::     "snmp1" string => "group example usm example";     "snmp2" string =>  "access example "" usm auth exact all none none"; # THIS IS THE CULPRIT     "s

RE: Re: Re: Problem with open promise library

2010-03-12 Thread Patrick de Ruiter
Hi Frederic,   This indeed looks like the problem.   I will upgrade to the latest version of Cfengine to check if that fixes the problem.   Thanks for your help.   Regards, Patrick   -Original message- From: lefollfr Sent: Fri 12-03-2010 15:20 To: Patrick de Ruiter ; CC: help

RE: Re: Problem with open promise library

2010-03-12 Thread Patrick de Ruiter
Hi Frederic,   Unfortunatly I do not have depth_search_recurse defined anywhere.   I circumvented the error by disabling both promises in the cfengine_stdlib.cf file.   Thanks, Patrick   -Original message- From: lefollfr Sent: Fri 12-03-2010 13:06 To: Patrick de Ruiter ; CC

Problem with open promise library

2010-03-12 Thread Patrick de Ruiter
Hi Guys,   I've added the open promise library to my cfengine 3 configuration, but now I keep getting the following error's   [r...@cf3-test-vh01 inputs]# cf-agent -I -K cf3:/var/cfengine/inputs/stdlib.cf:708,1: Redefinition of body recurse for depth_search is a broken promise, near token '{

cf3!!! No bundlesequence in the common control body

2010-02-16 Thread Patrick de Ruiter
rver ${ntp2}", "server ${ntp3}", "server ${ntp4}"); } bundle edit_line AppendIfNoLine(a,b,c,d){     insert_lines:     "${a}" location => "append";     "${b}" location => "append";     "${c}" location => "append