RE: CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread Simon Oxwell
Toddni, Zzamboni, I'd totally forgotten that classes defined as a class attribute are global! Does look like the workaround is to make them unique-per-call in the way you suggest. (And I need to check the whole namespace in my production promises for collisions!) Also, the example presented is j

CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24644,24646#msg-24646 It's like toddni said - you are defining the same class on every call, and classes defined by a classes attribute are global. This is document

CFEngine Help: Re: methods, usebundle and loops

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: methods, usebundle and loops Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24644,24645#msg-24645 Hi Simon, only problem that I see is here commands: !echo_run:: "/usr/bin/echo $(name)" classes => if_repaired("echo_run"); because

CFEngine Help: Re: package list commands?

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: package list commands? Author: toddnni Link to topic: https://cfengine.com/forum/read.php?3,24642,24643#msg-24643 I must admit that I'm also bit confused, but I'm quite sure that 'package_list_command' with 'package_list_name_regex', 'package_list_version_regex'

methods, usebundle and loops

2012-01-24 Thread Simon Oxwell
Hi, I've got an issue with calling bundles with a loop - variables and classes set on the first call to the bundle don't seem to get cleared on the second and subsequent calls. So for example: body common control { version => "1.0.0"; bundlesequence => { "example"

CFEngine Help: package list commands?

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: package list commands? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24642,24642#msg-24642 I'm defining a package_method which exists solely to determine if packages are installed or not. It will operate on rpm-based systems, so I'm basically ju

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24641#msg-24641 Does this work ? body common control { bundlesequence => { "configfiles" }; inputs => { "/var/cfengine/ma

CFEngine Help: Re: CFEngine Help: Distribution Servers Capacity

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Distribution Servers Capacity Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24639,24640#msg-24640 That number varies on the policies and how much they may load the policy server via hash sums or file server requests. Als

CFEngine Help: Distribution Servers Capacity

2012-01-24 Thread Jerome Yanga
How many end hosts can each distribution server support? jerome ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

CFEngine Help: Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24633,24638#msg-24638 Your assumptions are correct. The hub consist of several services including mongodb and httpd. You might be able to

CFEngine Help: Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24633,24637#msg-24637 rephrasing my question Can I bind cf-servd to different IP and cf-hub to different IP _

CFEngine Help: Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24633,24636#msg-24636 Neil I can have these services bind to two different IPs ? and Is my assumption correct , the Client will not initiate con

CFEngine Help: Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24633,24635#msg-24635 Hub and policy servers are two separate services that run on the same host. The policy server is essentially cf-serve

CFEngine Help: Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24633,24634#msg-24634 Pardon my poor understading here and please correct me I am wrong , some time I get confused between Hub and Policy server

Re: CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread Nicolas Charles
I might be wrong, but doesn't the agent send statistics to the hub at regular time, to be agregated on the hub ? If for some reason the LB directs messages to another hub, wouldn't it break the reports on all the hubs ? Please correct me if it's not the case Nicolas CHARLES On 24/01/2012 17:4

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24624,24632#msg-24632 I think the link answer my question Set up three completely symmetrical hosts, with identical public-private key pairs. That is, generate a

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24624,24631#msg-24631 Hi Neil Thanks for helping on this , I have very good LB infrastructure in my company hence I was trying to leverage it. Can I copy same pp

CFEngine Help: Re: What kernel tunables do you implement for better Cfengine performance?

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: What kernel tunables do you implement for better Cfengine performance? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24620,24630#msg-24630 Hi Mike, Have you read this: http://cfengine.com/manuals/st-scale.html? ___

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24624,24629#msg-24629 However, an LB seems a lot more expensive than maintaining a policy hubs slist. I think that a hub is more likely to bottleneck as it re

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24624,24628#msg-24628 Where can I get more details on how to setup this feature under Nova , I am not able to find details anywhere __

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24624,24627#msg-24627 I am will be using Nova , The reason I was thinking of putting it behind LB is to do DNS name masking I do not have to configure my clients

CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24612,24626#msg-24626 The way it is setup it will not replace if there is existing entry classes: "${cpattern[$(pattern)]}_param

CFEngine Help: Re: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Re: Load Balancing CFengine Server Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24624,24625#msg-24625 Will you be using Nova or Community? Why specifically, do you think you'll need to load balance? What bottle neck are you predicting?

CFEngine Help: Load Balancing CFengine Server

2012-01-24 Thread no-reply
Forum: CFEngine Help Subject: Load Balancing CFengine Server Author: milindk Link to topic: https://cfengine.com/forum/read.php?3,24624,24624#msg-24624 I want to setup a CFengine server in 3 regions and each region will have mutiple servers , my question is can install the CFengine behind Load Ba

Re: CFEngine Help: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3

2012-01-24 Thread Nick Anderson
On 01/23/2012 11:51 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: maintaining /etc/security/limits.conf with cf3 > Author: milindk > Link to topic: https://cfengine.com/forum/read.php?3,24612,24621#msg-24621 > > Can we not use this way ? That did not m