Forum: CFEngine Help
Subject: Re: Using dist for random selections
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24500,24504#msg-24504
I tried using randomint instead but got some unexpected results.
neil@ettin ~/.cfagent/inputs $ cat test.cf
body common control {
Forum: CFEngine Help
Subject: Re: Using dist for random selections
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24500,24503#msg-24503
You can use "50" and "50.0", but the class that gets set is not canonified, and
the period screws up parsing because it's treated like a bool
Forum: CFEngine Help
Subject: Re: How to know if "all is green ?"
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24492,24502#msg-24502
Hi.
As Neil said reports: promises is a good way to show the outcome. In addition I
collect kept promises percentage from /var/cfengine/pro
Forum: CFEngine Help
Subject: Re: Master to client security, signing?
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24394,24501#msg-24501
In our environment, cf-serverd handles a bunch of clients well, but
transferring a bunch of files to one host doesn't seem to work so well
Forum: CFEngine Help
Subject: Using dist for random selections
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24500,24500#msg-24500
I working with dist class selection for the purpose of random break tests.
Dist is a bit awkward to use. For instance suppose I want to r
Forum: CFEngine Help
Subject: Re: Dynamic module for editing authorized_keys
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24453,24499#msg-24499
I essentially have a structure like this
vars:
hostname::
keymaps slist => {"key2"};
keymaps slist => {"key1", "key2"};
> Author: mark
> Link to topic: https://cfengine.com/forum/read.php?3,24472,24491#msg-24491
>
> I tried this
> "my famous string" usebundle => test("$(this.promiser)");
> but it didn't work. I regard this as a bug. I found this bug and have
> committed a non-fully tested fix to trunk. I w
On Wed, 4 Jan 2012 04:25:56 +0100 (CET) bughari wrote:
n> Is there command available in cfengine3 to do health check of all cf-agent
is active and talking to cf-serverd which we can run from cfengine master
server.
You could use loggly or Splunk or plain syslog or something similar to
collect
Forum: CFEngine Help
Subject: Re: Anomoly in files changes => detect_content on NFS mounted data
Author: mikesphar
Link to topic: https://cfengine.com/forum/read.php?3,24414,24496#msg-24496
neilhwatson Wrote:
---
> I think that is on purpose. Th
Forum: CFEngine Help
Subject: Re: How to know if "all is green ?"
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24492,24495#msg-24495
Collecting promise status is the domain of Nova. Without it you'll have to use
class bodies and reports, for every promise, to show the
Forum: CFEngine Help
Subject: Re: "any" usebundle
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24472,24494#msg-24494
"But what I'd rather do is:
methods:
"/my/file" usebundle => my_bundle("some-other-parameter");
"
Bundles typically have more than one promiser inside
Forum: CFEngine Help
Subject: Re: Anomoly in files changes => detect_content on NFS mounted data
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24414,24493#msg-24493
I think that is on purpose. The better approach would be to scan from the
source of the NFS mount rather
Forum: CFEngine Help
Subject: How to know if "all is green ?"
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24492,24492#msg-24492
Hi all,
Can anyone explain to me how can we make a report status of promises ?
I know cf-report can producereports, but i don't know how
13 matches
Mail list logo