On 9 nov 2010, at 08:37, Seva Gluschenko wrote:
> Frans,
>
> since you're terminating cf-serverd in the middle of a file transfer,
> the receiving agent reasonably treats it as a corruption. There's
> nothing wrong with it. On the other hand, why terminating cf-serverd
> when you just need to re
Frans,
since you're terminating cf-serverd in the middle of a file transfer,
the receiving agent reasonably treats it as a corruption. There's
nothing wrong with it. On the other hand, why terminating cf-serverd
when you just need to restart cf-execd? Modify your promise and feel
safe.
2010/11/8
Forum: Cfengine Help
Subject: Re: bundlesequence and inputs using readstringlist
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,19057,19144#msg-19144
Scott,
I've looked further into your issue. Your initial readstringlist call is wrong,
pcre_exec hangs with your com
I just found that 3.1.0 handles differently the combination of
insert_lines and replace_patterns. Before 3.1.0, once insert_lines had
inserted a line, it would not be re-inserted after replace_patterns
has changed it.
In 3.1.0 however, it seems that insert_lines will be evaluated up to 3
times, ev
Forum: Cfengine Help
Subject: Re: keys
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19140,19142#msg-19142
You could look in the source code.
n...@ettin ~/src/cfengine-3.0.5/src $ grep -i blow *
cf.defs.h:#define CF_BLOWFISHSIZE 16
enterprise_stubs.c:return CF_BLOWFISHSI
BTW, I had not seen this MAX_FD complaint before upgrading to Nova 2.0b
... :sigh:
On 11/7/10 3:37 PM, Frans Lawaetz wrote:
> As far as I know this is a bug with cf-execd where it does not release
> file descriptors and eventually runs out of them. I have a weekly cron
> job to restart cfengin
Hello,
I am not sure my question arrives at the appropriate location but here it is
:
I have to prove that cfengine uses blowfish. I think that wireshark could do
that . I have seen a blowfish choice in "preferences" but I dont know really
how to do that. Can you help.
Regards
Franc
___
On Tue, Nov 9, 2010 at 1:39 AM, Marc Baudoin
wrote:
> Hi,
>
> As the number of different types of hosts in my configuration
> grows, I wonder what are the strategies for making bundlesequence
> and inputs more modular.
>
> I define a class for each type of hosts so, of course, there's
> the class
Forum: Cfengine Help
Subject: Re: "was not able to copy file" - critical corruption during cf-agent
run
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19137,19138#msg-19138
To avoid the the clients connecting to the server while the server is
restarting stagger the sche
Hi-
I recently implemented a "service cfengine3 restart" weekly cron job as a
workaround to the MAX_FD bug that others and myself have seen. I neglected
to except the master from the restart so when cf-serverd was killed a number
of hosts complained about in-flight transfers or not being able to
Forum: Cfengine Help
Subject: Re: preserve_block always sets repaired flag?
Author: babudro
Link to topic: https://cfengine.com/forum/read.php?3,19098,19136#msg-19136
Filed in the bug tracker: Bug #361
___
Help-cfengine mailing list
Help-cfengine@cfengi
Forum: Cfengine Help
Subject: Re: bundlesequence and inputs using readstringlist
Author: skibumatbu
Link to topic: https://cfengine.com/forum/read.php?3,19057,19135#msg-19135
Seva, can you clarify what you mean by that? Perhaps it would be easier if you
can show me a working example where bundles
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19125,19134#msg-19134
Showstate as you have listed will show you everything. It has now knowledge of
your promises. You will be able to look at the list for
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,19125,19133#msg-19133
Your description of the functionality of the promise is the same as mine, so I
guess it's good we're reading it the same.
Took us a while,
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19125,19132#msg-19132
$ cf-agent -IKf ./montest.cf
!! Process count for 'cf-monitord' was out of promised range (0 found)
I: Report relates to a promise with
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,19125,19131#msg-19131
body process_select ps_owner(owner)
{
process_owner => { "$(owner)" };
process_result => "process_owner";
}
___
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19125,19129#msg-19129
Please show the ps_owner body.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
http
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,19125,19128#msg-19128
I find that doubtful.
"cf-monitord"
comment => "Cfengine 3 environment monitor" ,
process_count
On Nov 8, 2010, at 8:02 AM, Marc Baudoin wrote:
> Daniel V. Klein écrit :
>> IMHO, the better strategy is to put everything (common and specific) in the
>> inputs
>
> I'd rather have only what's needed for each type of host instead
> of loading everything.
I know - but I told you what I thoug
Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19125,19126#msg-19126
Likely the process name matching regular expression is matching something else.
Please show us your promise.
__
Daniel V. Klein écrit :
> IMHO, the better strategy is to put everything (common and specific) in the
> inputs
I'd rather have only what's needed for each type of host instead
of loading everything.
> and then select what is executed in the bundle sequence. But better still is
> to have all t
Forum: Cfengine Help
Subject: number of cf-monitor processes
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,19125,19125#msg-19125
I've written a promise to make sure cf-monitord (only) has one process running
but it keeps getting tripped by finding two cf-monitord processe
Forum: Cfengine Help
Subject: Re: normal ordering
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,19115,19123#msg-19123
I see no need for compromise in question of methods vs processes ordering ).
___
Help-cfengine mailing l
On Mon, Nov 08, 2010 at 10:10:46AM -0500, no-re...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: normal ordering
>Author: neilhwatson
>Link to topic: https://cfengine.com/forum/read.php?3,19115,19122#msg-19122
>
>I suspect that if we sat down for drinks we'd all find a reason to change th
Forum: Cfengine Help
Subject: Re: normal ordering
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19115,19122#msg-19122
I suspect that if we sat down for drinks we'd all find a reason to change the
ordering :) It's a compromise to fit most but not all cases.
___
Forum: Cfengine Help
Subject: Re: normal ordering
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,19115,19121#msg-19121
Well, perhaps, the reference is obsolete and should be updated to reflect the
real world situation.
By the way, the current ordering still isn't op
Hi,
As the number of different types of hosts in my configuration
grows, I wonder what are the strategies for making bundlesequence
and inputs more modular.
I define a class for each type of hosts so, of course, there's
the class approach:
body common control
{
class1::
bundlese
Forum: Cfengine Help
Subject: Re: normal ordering
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19115,19119#msg-19119
The current reference shows a different order.
http://www.cfengine.org/manuals/cf3-reference.html#Agent-normal-ordering
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Best platform to run cf-engine server
(community)
Author: hristob
Link to topic: https://cfengine.com/forum/read.php?3,19107,19118#msg-19118
Thanks for the info...
I was following the bugtracker with the issue and waited for 3.1.0 to be
relea
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Looking for ideas on people's config
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19114,19117#msg-19117
##
bundle common gclass {
classes:
"b1" or => { "unxxhd01", "sterlz
Well, that was me asking for files before methods. I can't remember
the way we've been discussing the normal ordering at whole, but now
the ordering is as follows (from src/agent.c):
char *TYPESEQUENCE[] =
{
"vars",
"classes",/* Maelstrom order 2 */
"outputs",
"interfaces",
"
Is the normal ordering as documented in the ref guide correct?
vars
classes
outputs
interfaces
processes
storage
packages
commands
methods
files
In a bundle that has vars, classes, files and packages promises, I see
the ordering start out like this:
cf3
cf3==
32 matches
Mail list logo