Cfengine Help: Re: Cfengine client setup howto

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine client setup howto Author: kenneho Link to topic: https://cfengine.com/forum/read.php?3,20442,20648#msg-20648 Thanks for the reply. Is this type of thing documented in the official cfengine manuals somewhere? I've not found any information about how on

Cfengine Help: Re: Cfengine client setup howto

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine client setup howto Author: kenneho Link to topic: https://cfengine.com/forum/read.php?3,20442,20649#msg-20649 Thanks. I may consider this at a later point, but for now I'd like to get an understanding of cfengine work, and that includes configuring it fr

Behaviour change between Cfengine 2 and Cfengine 3: subprocesses

2011-02-14 Thread Mikhail Gusarov
Hi, As we figured out in bug https://cfengine.com/bugtracker/view.php?id=472 , there is subtle change between Cfengine 2 and Cfengine 3 in handling subprocesses. Namely, Cfengine 3 does not ignore SIGPIPE and hence processes run from it might have it delivered (and hence killed by it). If you

Re: two quick questions

2011-02-14 Thread Bas van der Vlies
I am usually reading the reference manual and download the source code. I am also using this page a lot: * http://www.cfengine.org/pages/syntax I could not find this on the cfengine.com site. On 8 feb 2011, at 16:26, Anita Bilicka wrote: > Hi everyone, > > I have two quick questions for you:

Re: www.cfengine.org | com not accesible

2011-02-14 Thread M LZ
No need, tested already with an arbitray free proxy and it works. Looks like more of an routing issue or ( unlikely ) a firewall rule along the path for my ISP AS. I'll do more investigations, Thanks for your help, mlz. On Sun, Feb 13, 2011 at 9:50 AM, Aleksey Tsalolikhin < atsaloli.t...@gma

client installation help,

2011-02-14 Thread Yared Berhanu
Greetings, I managed to install cfengine and test simple programs. But now, I just want to be curious about client installation method. 1. Do we need to install the client just as we have done on the server? or is there any way to automate client installation from remote? 2. Do we need t

Splay across a shift?

2011-02-14 Thread C R Ritson
Is there any possibility of altering splayclass to pick a pseudo random 5-minute interval in a complete shift? I think this would mean altering FnCallSplayClass() to generate (for example) something like Min15_20.(Hr02|Hr08|Hr14|Hr20) instead of the current class string it generates. If I we

Cfengine Help: Re: New features of Cfengine 3.1.4 and 3.1.3

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: New features of Cfengine 3.1.4 and 3.1.3 Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20629,20655#msg-20655 Wow, I like that very much. The was a lot of work involved in doing that and it show, we all appreciate it. ___

question about locking and variable expansion

2011-02-14 Thread Bas van der Vlies
I have the following promises.cf to handle multiple clusters. It used to work with cfengine community versions before 3.1.4: This is a simplified example: {{{ body common control { #version => "$Revision: 4450 $ $Author: bas $"; version => "1.3.0"; ignore_missing_bundles => "true

Cfengine Help: Re: New features of Cfengine 3.1.4 and 3.1.3

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: New features of Cfengine 3.1.4 and 3.1.3 Author: debheller Link to topic: https://cfengine.com/forum/read.php?3,20629,20657#msg-20657 EXCELLENT!!! This is the kind of release documentation that really works. Thank you! __

Cfengine Help: Re: New features of Cfengine 3.1.4 and 3.1.3

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: New features of Cfengine 3.1.4 and 3.1.3 Author: gusto Link to topic: https://cfengine.com/forum/read.php?3,20629,20658#msg-20658 I agree this is fantastic! Also I second that we all know the time/effort to make this come together. Thank you __

Cfengine Help: Diagnosing cf-hub message in /var/log/messages (Nova w/3.1.4)

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Diagnosing cf-hub message in /var/log/messages (Nova w/3.1.4) Author: debheller Link to topic: https://cfengine.com/forum/read.php?3,20659,20659#msg-20659 Every time cf-agent runs, cf-hub complains that it is aborting transmission, & tries to helpfully point out that

Anyone have good examples of a dist based class?

2011-02-14 Thread Mike Svoboda
I’d like to learn how to use dist to create classes. Really, I want to look at a text file, and select a random entry from it. I’ve heard this is possible using dist. Does anyone have any good examples of using dist to pick entries from a file? I’d like to see an example of picking one entry

OpenSSL errors on a 3.1.4 MPS

2011-02-14 Thread Mike Svoboda
I’ve upgraded all my clients to run version 3.1.4. My MPS have been chilling on 3.0.5p1. This setup works, although, I have to bounce cf-serverd daily because of memory leaks. When I upgrade my MPS to 3.1.4, I start running into OpenSSL errors. Here’s a client trying to pull down new configs

Re: OpenSSL errors on a 3.1.4 MPS

2011-02-14 Thread Mark Burgess
I suggest you upgrade servers first and then make sure there are no mixed versions confusing each other. Try running updates without encryption until you have a uniform version. On 02/14/2011 09:24 PM, Mike Svoboda wrote: > I’ve upgraded all my clients to run version 3.1.4. My MPS have been > ch

Cfengine Help: Re: OpenSSL errors on a 3.1.4 MPS

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OpenSSL errors on a 3.1.4 MPS Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,20661,20663#msg-20663 I'm starting to think that the OpenSSL error was just a red herring here. It seems to be some sort of issue that I'm hitting wi

Cfengine Help: Re: OpenSSL errors on a 3.1.4 MPS

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: OpenSSL errors on a 3.1.4 MPS Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,20661,20664#msg-20664 This is a bug. In my promises.cf on my MPS, I've got the follow bundlesequence => { "update",

Cfengine Help: package yum install not working as expected

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: package yum install not working as expected Author: bubble1975 Link to topic: https://cfengine.com/forum/read.php?3,20665,20665#msg-20665 Hi All, Weird issue I'm having with trying to install a package via 'package_method => yum' (cfengine version cfengine-community

Cfengine Help: Defining classes based on running processes

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Defining classes based on running processes Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20666,20666#msg-20666 I have several hundred machines managed by CFengine. I would like to define a class based on certain running processes so that we

Re: Cfengine Help: package yum install not working as expected

2011-02-14 Thread Frans Lawaetz
> Then, when I run it on a host, I see this (via 'cf-agent -I'): When debugging cf-agent behaviour you pretty much always want to run it in verbose mode with "-v". I usually do something like cf-agent -Kv | tee /tmp/cf which lets you see the live output but also saves a copy for review. This

Cfengine Help: Re: package yum install not working as expected

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: package yum install not working as expected Author: bubble1975 Link to topic: https://cfengine.com/forum/read.php?3,20665,20668#msg-20668 Huh... I tried this syntax (calling the architecture through a variable): packages: any:: "ntp" package_policy => "add", pa

select_line_matching is great; how about a select_paragraph_matching?

2011-02-14 Thread Aleksey Tsalolikhin
What's the paragaraph equivalent to select_line_matching() ? Situation: I've written a promise to insert "extension=http.so" into /etc/php.ini in the Dynamic Extensions section so that Apache httpd's mod_php dynamically loads the "pecl_http" module which is needed by our Web app, however I've anc

Cfengine Help: Re: Defining classes based on running processes

2011-02-14 Thread no-reply
Forum: Cfengine Help Subject: Re: Defining classes based on running processes Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20666,20669#msg-20669 So I RTFM, which I should have done already, It seems I can do this using modules I'll have to write the module, which is no bi

Re: select_line_matching is great; how about a select_paragraph_matching?

2011-02-14 Thread Mark
What you want is begin and end select region. See insert_lines manual for how to use the regexes. Mark On 14 Feb 2011, at 23:24, Aleksey Tsalolikhin wrote: > What's the paragaraph equivalent to select_line_matching() ? > > Situation: I've written a promise to insert "extension=http.so" in

Cfengine promise bundle for installing PHP PECL "http" library

2011-02-14 Thread Aleksey Tsalolikhin
Happy Valentine's Day! With love, here is my promise bundle for installing PHP PECL "http" library and integrating it (set SELinux permissions and edit /etc/php.ini) https://github.com/cfengine/contrib/raw/master/php_pecl_http_extension_is_installed_and_integrated.cf Best, -at _