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
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
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
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
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
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
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
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 '{
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