Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: slist from module?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21266,21270#msg-21270
Looking at verbose output we can see that the class 'foo' is defined by seems
to be ignored during the next run.
community> -> Ex
That was my problem. My module defines a class and a variable, I was trying to
only dereference the variable only if the class was set. I was doing that as a
troubleshooting move, eg, trying to make sure the module had returned results
before doing the dereference. I did a bit of testing ...
Th
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: slist from module?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21266,21269#msg-21269
Nakarin,
You might be on to something. I changed my example to have the module set a
class aswell as the slist.
$ cat ~/bin/mod
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: slist from module?
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,21266,21268#msg-21268
I might misunderstood but there might be something odd with user-defined
classes which were populated by a module. For me, it looked
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: slist from module?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21266,21267#msg-21267
$(variable) and ${variable} are equivalent. I favour {} over () since the
former is used in shell scripts.
_
Works perfectly. Is there anything in the documentation I can refer to that
explains the difference between @(this) and @{this}? I can't find a single
example of this syntax in the stdlib or the unit_test stuff, and the only
mention in the docs is an unexplained appearance in the "bundle edit_li
Forum: Cfengine Help
Subject: Re: Problems with cf-serverd on policy host
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21262,21265#msg-21265
I think you should increase your splay time to at least 13 minutes.
http://www.cfengine.org/manuals/cf3-reference.html#splaytime-
Forum: Cfengine Help
Subject: Re: slist from module?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21255,21264#msg-21264
Working example:
$ cf-agent -IKf ./bugs.cf
-> Executing '/home/nwatson/bin/modb' ...(timeout=-678,owner=-1,group=-1)
-> Completed execution of /ho
Forum: Cfengine Help
Subject: Re: Need help troubleshooting Remote Access key exchange
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,21233,21263#msg-21263
Try to think in terms of a promise. A remote copy promise can be paraphrased
as 'Promise that this target file, on
Everyday i get several messages with communication errors with the policy
server. This is complete random which node reports the problem. The size of
the cluster is 600 nodes. We use splaytime of 5 minutes so the load is
spread for the policy server.
Are more people experiencing this problem?
Forum: Cfengine Help
Subject: hp-ux SD package management
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21261,21261#msg-21261
Hello,
I have a new question about cfengine 3.1.4 .
I try to implement SD-UX package installation on HP-UX 11.23 from a remote
server into cfengine .
11 matches
Mail list logo