Hello again,
I solved my problem, this code doesn't follow strictly the cfengine code
pattern but could be useful for someone as was usuful for me.
ncode@karoly:~/Devel/locaweb/cfengine/cfengine-3.1.5/src$ ./cf-hash -f
/tmp/ncode.pub
Using key: /tmp/ncode.pub
Key hash value: root-MD5=1107ecac56dc
Is there any algorithm we can use to obtain the correct filename for the
key on each server using any programming language instead of using
cf-promises and cf-key tools?
Thanks!
--
Luiz Viana
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
ht
> Rock on! Thanks Nicolas! I wasn't aware of select_class. That is handy
> indeed!
>
You are welcome.
That's brand new, and really useful indeed !
Nicolas
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listin
Forum: Cfengine Help
Subject: Re: Client config examples (update.cf / failsafe.cf) for multiple
Master Policy Servers
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,22618,22634#msg-22634
Hi,
In the copy_from body template, the servers is a list, ordered (mean
Forum: Cfengine Help
Subject: Re: A question about splayclass
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22629,22633#msg-22633
Looking at the debug information does the following mean that the splayclass
time is expected to be Hr19 and Min05_10?
- Checking inline c
On 27/06/2011 20:39, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: Client config examples (update.cf / failsafe.cf) for multiple
> Master Policy Servers
> Author: msvob...@linkedin.com
> Link to topic: https://cfengine.com/forum/read.php?3,22618,22631#msg-22631
>
> Has nobody
Forum: Cfengine Help
Subject: Re: Client config examples (update.cf / failsafe.cf) for multiple
Master Policy Servers
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,22618,22631#msg-22631
Has nobody tried to run multiple master policy servers and tried to load
On 6/24/11 6:54 AM, "no-re...@cfengine.com" wrote:
> We're likely to have a local repo (or perhaps two...). So I suspect that a
> proxy line in "/etc/yum.conf" might not fly. (I'm no yum expert at all, and
> would be happy to be shown to be wrong!)
We skinned the yum.conf cat another way -- We
Forum: Cfengine Help
Subject: A question about splayclass
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22629,22629#msg-22629
When setting a splay class, is there a way to know what time class the given
string evaluates to?
http://cfengine.com/manuals/cf3-reference.html
Hello,
I've got some problems after that key naming change, each of my client
keys are received from a remote location after the server install. So
is it possible to generate its root-md5= remotely ( without any
contact with the machine that should receive that key)?
root@karoly:/var/cfengine/ppk
Forum: Cfengine Help
Subject: whenever I restart policy host I lose keys.
Author: chadpatt
Link to topic: https://cfengine.com/forum/read.php?3,22627,22627#msg-22627
I have a couple policy hosts and only one does this. If I restart cfengine3
services or reboot, I get:
BAD: Unspecified server re
You're using the "comment" regex to match lines that DON'T look like
something... Try this:
"dim_array" int =>
readstringarrayidx("array","datafile","^(?!VM;[^;]*;name1;).+",";",10,1);
The regex says "anything, as long as you don't seeVM;stuff;name1;, is a
comment". I think it'll work...
Forum: Cfengine Help
Subject: Re: File_select help
Author: jgreer
Link to topic: https://cfengine.com/forum/read.php?3,22617,22625#msg-22625
Sure thing. I've run into the same problem, and there's a ticket in the bug
tracker for it - https://cfengine.com/bugtracker/view.php?id=446
Mark, can you
Forum: Cfengine Help
Subject: Re: File_select help
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22617,22624#msg-22624
That's what I get for writing new policy later Friday. Thanks for the fresh
eyes Jessica. It interesting that cf-promises did not report the undefine
Forum: Cfengine Help
Subject: Function readstringarrayidx () - Need Regex help
Author: joe77
Link to topic: https://cfengine.com/forum/read.php?3,22623,22623#msg-22623
Hi,
I have a problem with readstringarrayidx ()
1. I want to read from this example datafile
###
VM;bv10;nam
Forum: Cfengine Help
Subject: Re: Making cf-runagent work
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22525,22622#msg-22622
Make sure your access rules are pointing to real locations and not following
sym links.
___
Help-cf
16 matches
Mail list logo