Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: errors when defining classes based on built-in functions Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21286,21302#msg-21302 If you ask me, I'd consider it as a bug. Cfengine should populate test_var the 2nd time it evaluate vars: stanza.

Cfengine Help: mbt shoes sale usa

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: mbt shoes sale usa Author: mbtshoes Link to topic: https://cfengine.com/forum/read.php?3,21278,21300#msg-21300 Ideas are like mbt us stars --- we never reach them, but like mariners, we chart our course by them. value of mbt shoes life lies not in length of days, bu

Cfengine Help: mbt shoes sale usa

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: mbt shoes sale usa Author: mbtshoes Link to topic: https://cfengine.com/forum/read.php?3,21233,21299#msg-21299 Ideas are like mbt us stars --- we never reach them, but like mariners, we chart our course by them. value of mbt shoes life lies not in length of days, bu

Cfengine Help: Re: Need help troubleshooting Remote Access key exchange

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Need help troubleshooting Remote Access key exchange Author: regan99 Link to topic: https://cfengine.com/forum/read.php?3,21233,21298#msg-21298 ...and nevermind, I figured it out. :) >From cf-serverd on the policy server: community> Host 192.168.52.139 denied a

Cfengine Help: Re: Need help troubleshooting Remote Access key exchange

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Need help troubleshooting Remote Access key exchange Author: regan99 Link to topic: https://cfengine.com/forum/read.php?3,21233,21297#msg-21297 Ok, this is really killing me. At this point, all I'm trying to do is get a client to copy the contents of "/var/cfengi

Cfengine Help: Re: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I merge several slist into one slist? Author: random Link to topic: https://cfengine.com/forum/read.php?3,21290,21296#msg-21296 zzamboni Wrote: --- > Yes, but cf_null is ignored in list variable > expansi

Cfengine Help: Re: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I merge several slist into one slist? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,21290,21295#msg-21295 Yes, but cf_null is ignored in list variable expansion: http://www.cfengine.org/manuals/cf3-reference.html#Special-list-value

Cfengine Help: Re: Redhat / Fedora / CentOS processes, services, and chkconfig nirvana

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Redhat / Fedora / CentOS processes, services, and chkconfig nirvana Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,21202,21294#msg-21294 Hey bbomgardner So the difference I guess between your implementation and mine, is that I

Cfengine Help: Re: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I merge several slist into one slist? Author: random Link to topic: https://cfengine.com/forum/read.php?3,21290,21293#msg-21293 Ahh, but if I add policy => "free" to each of the redefinitions it seems to work. Is this method OK to use or is this a dirty

Cfengine Help: Re: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I merge several slist into one slist? Author: random Link to topic: https://cfengine.com/forum/read.php?3,21290,21292#msg-21292 Thanks for the reply! I've given this a try and it's close.. so close: "allowgroups_list" slist => { @(defaultgroups), @(allo

Cfengine Help: Re: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: How can I merge several slist into one slist? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,21290,21291#msg-21291 You need to specify policy => "ifdefined": http://www.cfengine.org/manuals/cf3-reference.html#policy-in-vars

Cfengine Help: How can I merge several slist into one slist?

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: How can I merge several slist into one slist? Author: random Link to topic: https://cfengine.com/forum/read.php?3,21290,21290#msg-21290 I'm trying to use the code below to create a list of groups based on soft classes I've set in promises.cf. Everything works for th

Re: Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread M LZ
Hi, I only have defined a simple class based on a built-in function, not a variable, not much different from the example given here: http://www.cfengine.org/manuals/cf3-reference.html#Function-fileexists Looks like the function is called somewhere between vars and reports, so that test_class is

Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: errors when defining classes based on built-in functions Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21286,21287#msg-21287 This has to do with the static order of agent operations. http://www.cfengine.org/manuals/cf3-reference.html#N

Re: errors when defining classes based on built-in functions

2011-03-29 Thread Frans Lawaetz
> Is it something that I miss or things are not working the way the > documentation says? > Were I to hazard a guess I'd say it has to do with cfengine's normal ordering. See section 2.8.1 in the manual. Specifically, "In general it is wise to avoid class-variable dependency as much as poss

errors when defining classes based on built-in functions

2011-03-29 Thread M LZ
Hi, I encounter the following problem, extracted from a more complex config: bundle agent test { classes: "test_class" expression => fileexists("/etc/passwd"); # "test_class" and => { fileexists("/etc/passwd") }; # "test_class" expression => "sunos_5_10"; vars: test_class::

Cfengine Help: Re: Redhat / Fedora / CentOS processes, services, and chkconfig nirvana

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Redhat / Fedora / CentOS processes, services, and chkconfig nirvana Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21202,21285#msg-21285 Here is what I came up with to deal with chkconfig. It seems to work OK. Any ideas for improvement

Re: Problems with cf-serverd on policy host

2011-03-29 Thread Bas van der Vlies
On 28-03-11 21:12, Frans Lawaetz wrote: > >> 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 se

Re: Cfengine Help: Re: Preventing cf-agent process buildup / abortclasses

2011-03-29 Thread Bas van der Vlies
On 28 mrt 2011, at 20:35, Frans Lawaetz wrote: > >> If you set such an abort class does that not prevent any promises from being >> kept? I worry that this might put CF into a state of never working until >> NFS is fixed. >> > I'm ok with cf3 bailing out until NFS (or whatever is blocking th