fo...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Packet Management
> Author: neilhwatson
> Link to topic: https://cfengine.com/forum/read.php?3,16851,16892#msg-16892
>
> I believe that update will not install anew but only update an existing
> install.Similarly I think that install
Forum: Cfengine Help
Subject: Re: Packet Management
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,16851,16892#msg-16892
I believe that update will not install anew but only update an existing
install.Similarly I think that install will only install if missing and not
u
Understood. The hard classes appear to be defined to me, so it seems odd that
the custom ones aren't.
[r...@cf3server-1.test.net masterfiles]# cf-promises -v -f ./promises.cf
cf3 -> Defined classes = { 10_1_1_2 64_bit April Day13 GMT_Hr17 Hr10 Hr10_Q3
Lcycle_0 Min35_40 Min36 Morning Q3 Tuesd
Forum: Cfengine Help
Subject: Re: Packet Management
Author: christian
Link to topic: https://cfengine.com/forum/read.php?3,16851,16890#msg-16890
hi again
and thanks for the answer, i saw the body in the std lib. and it works so far.
But i'm looking for a explanation what's going on behind the sc
If you leave off the "select_end", it will match from the select_start to the
end of file. If you have both a select_start and a select_end, then it will
match between those - and in a recent patch, it will also allow EOF to match
the end. You'll need the newer code, though...
-Dan
> Hi,
>
> D
Forum: Cfengine Help
Subject: Re: matching a new [section] or EOF with select_end in a select_region
body
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,16887,16888#msg-16888
\z or \Z might do the trick. See man pcrepattern.
Hi,
Does anyone have a solution to match the EOF if there are no more sections in a
file?
This body is suggested in the documentation but it doesn't handle EOF.
-
body select_region MySection(x)
{
select_start => "\[$(x)\]";
select_end => "\[.*\]";
}
-
My current solution is to add anot
Hmm, I don't replicate the problem in 2.1.21:
[r...@becker tmp]# cat cf.foo
control:
actionsequence = ( directories )
voip_user = ( "foo" )
voip_group = ( "bar" )
directories:
any::
/tmp/foobarbaz
mode=0755
owner=${voip_user}
owner=${voip_group}
[r...@becker tm
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: Possible bug
in cfengine 2
Author: kevinmusker
Link to topic: https://cfengine.com/forum/read.php?3,16865,16885#msg-16885
You don't actually have to define the variable, you just need to reference it
somewhere
I just noticed that the hashing code in 2.1.21 matched the code that you
patched in 2.2.x so I assume the bug is still there. I haven't actually
tried to reproduce the effects though.
Do you just have to define a macro that hashes to zero in order to
replicate the problem? Or do you have to u
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: Possible bug in cfengine 2
Author: kevinmusker
Link to topic: https://cfengine.com/forum/read.php?3,16865,16883#msg-16883
Great, thanks. I've filed a reoprt here:
https://cfengine.com/bugtracker/view.php?id=112
_
Forum: Cfengine Help
Subject: Re: Re:Cfengine Help: Re: v3 question
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,16881,16882#msg-16882
JIM AMANATIDIS, BLOOMBERG/ 731 LEXIN Wrote:
---
> nyprovdev1 # more promises.cf
> b
Hello againg,
Thanks, but this doesn't work if I also specify any:: class as well.
For example:
nyprovdev1 # more promises.cf
body common control
{
any::
bundlesequence => { "do_generic", "do_specific_OS" };
inputs => { "generic.cf" };
linux::
inputs => { "linux.cf" };
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: Possible bug in cfengine 2
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,16865,16880#msg-16880
Hi,
A project is added for Cfengine 2 on the bug tracker.
Note that only critical bugs will be addressed, the r
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: Possible bug in cfengine 2
Author: kevinmusker
Link to topic: https://cfengine.com/forum/read.php?3,16865,16879#msg-16879
Jesse: Right, yeah. The size of the hashtable is a prime number which, if my
memory of modulo arithmetic se
Forum: Cfengine Help
Subject: package_policy => "update"
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,16878,16878#msg-16878
My tests show that the package_policy => "update" does not install package when
it doesn't exist. As for me, it seems to be a bug. Perhaps, I
16 matches
Mail list logo