Cfengine Help: Accessing Module-Declaring Variables

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Accessing Module-Declaring Variables Author: nima Link to topic: https://cfengine.com/forum/read.php?3,18279,18279#msg-18279 Hi, Here's my problem: starting with the cf3 config: bundle agent OpenLDAP { classes: "OpenLDAPMasterRID" expression => usemodul

Re: Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread Michael Potter
I cant say I've witnessed anything like that myself, although I don't really do a lot of independent insert_lines into the one file (I insert multiple lines as a slist, say when merging two files together, but I believe that equates to one promise). I may take a closer look to see if this could aff

Re: 3.0.5p1: library.cf conflicts with cfengine_stdlib.cf. Trouble getting started.

2010-09-15 Thread Seva Gluschenko
Before calling for developer's attention, I would suggest tryin' to remember where that library.cf came into your setup. I've started evaluating Cfengine since 3.0.4p2 and it hadn't library.cf at that moment already. Perhaps, you or someone in your company made that local library.cf and forgot abou

Re: Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread Seva Gluschenko
Well, be careful with it. My practices shown that using empty_file_before_editing => "true" for building a file from scratch can lead you into the trap when multiple insert_lines promises exist and multiple cf-agents are running. (It may happen on heavily loaded servers and default 5 minute schedul

BTW, it's really cool that cfengine3 automatically detects cfengine2 config files and runs cfagent! :) Thank you for this. EOM

2010-09-15 Thread Aleksey Tsalolikhin
___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: 3.0.5p1: library.cf conflicts with cfengine_stdlib.cf. Trouble getting started.

2010-09-15 Thread Aleksey Tsalolikhin
Thanks, Nakarin, I really appreciate your reply, but I don't like to guess - let's see what the Cfengine developers say about what is library.cf and cfengine_stdlib.cf? How to reconcile this conflict? Wouldn't anybody that downloads and starts to use cfengine run into this issue? Or am I doing so

Re: cfengine.com is very slow for me right now... took 5 minutes to login. Now "my cache" is slow to come up. EOM

2010-09-15 Thread Aleksey Tsalolikhin
I am in Los Angeles. The main cfengine.com site pages come up reasonably fast but when I go to login, it starts getting into minutes... I just submitted username and password and the browser busy doohicky is just spinning... about a minute now and still going. On Wed, Sep 15, 2010 at 4:29 PM, Na

Re: 3.0.5p1: library.cf conflicts with cfengine_stdlib.cf. Trouble getting started.

2010-09-15 Thread Nakarin Phooripoom
I guess, library.cf might be an earlier version of cfengine_stdlib.cf. From the error messages, you might want to rename/delete the duplicate bodies in library.cf Cheers, --Nakarin On Sep 16, 2010, at 2:12 AM, Aleksey Tsalolikhin wrote: > Hi. So I've installed 3.0.5p1, and copied the follo

3.0.5p1: library.cf conflicts with cfengine_stdlib.cf. Trouble getting started.

2010-09-15 Thread Aleksey Tsalolikhin
Hi. So I've installed 3.0.5p1, and copied the following to /var/cfengine/inputs: /usr/local/share/doc/cfengine/inputs/*cf /usr/local/share/doc/cfengine/cfengine_stdlib.cf Now I run cf-agent and get errors: cf3:/var/cfengine/inputs/cfengine_stdlib.cf:304,1: Redefinition of body start for locati

Re: cfengine.com is very slow for me right now... took 5 minutes to login. Now "my cache" is slow to come up. EOM

2010-09-15 Thread Nakarin Phooripoom
Where are you located? I'm in NY, using a free Wifi at Times square right now. It took me only 2 seconds to login. ^^" Cheers, --Nakarin On Sep 16, 2010, at 12:53 AM, Aleksey Tsalolikhin wrote: > > ___ > Help-cfengine mailing list > Help-cfengine@cfe

cfengine.com is very slow for me right now... took 5 minutes to login. Now "my cache" is slow to come up. EOM

2010-09-15 Thread Aleksey Tsalolikhin
___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

Re: Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread Michael Potter
For me the killer cfengine feature is convergent file-editing, which I believe is fairly unique to cfengine. On Thu, Sep 16, 2010 at 6:27 AM, wrote: > Forum: Cfengine Help > Subject: Re: I've written an article about how Cfengine relates to Chef and > Puppet in terms of origin; and its new capab

Cfengine Help: Re: How to get an slist of mounted local filesystems with CFengine 3?

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: How to get an slist of mounted local filesystems with CFengine 3? Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18256,18268#msg-18268 I think your basic idea is correct, you could probably assign the output of the command (containing only

Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18264,18267#msg-18267 Puppet evangelists mention its usage in Google. I

Re: Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread Aleksey Tsalolikhin
They ought to come to Mark's Cfengine 3 class at LISA 2010. I bet they don't even know what Cfengine 3 is and are going off 2's reputation. Tell them about Mark's Cfengine 3 class if you can, please, Neil. Cheers, -at On Wed, Sep 15, 2010 at 10:33 AM, wrote: > Forum: Cfengine Help > Subject:

Cfengine Help: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18264,18265#msg-18265 I can't be specific but there is a large Linux centri

I've written an article about how Cfengine relates to Chef and Puppet in terms of origin; and its new capabilities

2010-09-15 Thread Aleksey Tsalolikhin
I noticed some people using Chef have no idea of the history involvedso I've put together a little piece detailing the lineage and how Cfengine 3 is a next-generation tool, it's improvements over Cfengine 2 and completely new capabilities: http://verticalsysadmin.com/blog/uncategorized/relative-or

Cfengine Help: Re: Interactive key trust not permenant

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Interactive key trust not permenant Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18135,18263#msg-18263 Strangely I've not been able to reproduce this today. This time when I aimed cf-runagent at the host arcdev01 it worked as expected

Cfengine Help: Re: Interactive key trust not permenant

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Interactive key trust not permenant Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18135,18262#msg-18262 Can you verify that the keys actually did a physical exchange? Is arcdev01's public key stored in ppkeys on the server, and vice versa?

Re: Cfengine Help: Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread Michael Potter
On Thu, Sep 16, 2010 at 12:41 AM, wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: Looking for ideas on people's config > Author: hhammer > Link to topic: https://cfengine.com/forum/read.php?3,18246,18258#msg-18258 > > Thanks. So in this example: > > > "common_seq" slist => { "som

Cfengine Help: Re: Interactive key trust not permenant

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Interactive key trust not permenant Author: mwlarsen Link to topic: https://cfengine.com/forum/read.php?3,18135,18260#msg-18260 I recall running into this when I was flailing around with cf-runagent. If I recall correctly, the cure I came up with was to run it in

Cfengine Help: Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Looking for ideas on people's config Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18246,18259#msg-18259 web_servers:: "site_seq" slist => { @(common_seq), "php", "apache2" } ; data_servers:: "site_seq" slist => { @(comm

Cfengine Help: Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Looking for ideas on people's config Author: hhammer Link to topic: https://cfengine.com/forum/read.php?3,18246,18258#msg-18258 Thanks. So in this example: "common_seq" slist => { "some", "common", "bundles" }; web_servers:: "site_seq" slist

Cfengine Help: Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Looking for ideas on people's config Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18246,18257#msg-18257 If hosts belong to multiple classes the last class listed will be the final bundle sequence. Thus any new declaratio

Cfengine Help: Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Looking for ideas on people's config Author: hhammer Link to topic: https://cfengine.com/forum/read.php?3,18246,18255#msg-18255 Michael Potter Wrote: --- > Here my advice: > > Try and avoid per-ho

Cfengine Help: Re: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Looking for ideas on people's config Author: hhammer Link to topic: https://cfengine.com/forum/read.php?3,18245,18254#msg-18254 neilhwatson Wrote: --- > In promises.cf I define classes in a common bundle > at the

Cfengine Help: Re: cf-serverd segfaulting

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd segfaulting Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,17924,18253#msg-18253 Awesome, thanks Trond! I'll give it a try. ___ Help-cfengine mailing list Help-cfengine@cfengine.org

How to get an slist of mounted local filesystems with CFengine 3?

2010-09-15 Thread Ed Voncken
Hi all, I'm trying to achieve the following: - Generate a Nagios config files, with a specific line for each local filesystem (/, /boot, /home etc.) My idea was to somehow fill an slist with all these local filesystems, and generate a proper configuration for each list item. I've looked at /proc

Re: Looking for ideas on people's config

2010-09-15 Thread Daniel V. Klein
What some people have done is to limit the number of bundles in the bundlesequence to the common stuff, but have one of the bundles call a bunch of modules: body common control { bundlesequence => {"update", "classes", "security", "host_specific", "tidy", "backup" }; } bundle agent host_speci

Cfengine Help: CFengine syntax highlighting using Fraise

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: CFengine syntax highlighting using Fraise Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18251,18251#msg-18251 Greetings, Below is syntax highlighting using Fraise (Mac OS X editor). Save the text below as /Applications/Fraise/Contents/Resources

Are you a designer?

2010-09-15 Thread Anita Bilicka
Dear Cfengine Community, Are you interested in the opportunity to be a part of the Nova 2.0 creation? We are on the outlook for a designer who can help us create a set of icons for the new, up and coming version of Cfengine Nova. Please let me know whether you are interested or know someone w

Cfengine Help: Re: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: Looking for ideas on people's config Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18245,18249#msg-18249 In promises.cf I define classes in a common bundle at the top of the file. Then I can use this classes in common control. bundle c

Re: Cfengine Help: Re: cf-serverd segfaulting

2010-09-15 Thread Trond Hasle Amundsen
no-re...@cfengine.com writes: > I am having the same issues with this version running on SLES 11 x86_64 (phys > 2.6.27.29-0.1-default). It only occurs every day or so. > Frans, did you ever find out what was happening? > > > It is statically compiled: > > BerkeleyDB > tar xvfz db-5.0.26.tar.gz &

Cfengine Help: Re: cf-serverd segfaulting

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Re: cf-serverd segfaulting Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,17924,18247#msg-18247 I am having the same issues with this version running on SLES 11 x86_64 (phys 2.6.27.29-0.1-default). It only occurs every day or so. Frans, did

Re: Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread Michael Potter
Here my advice: Try and avoid per-host file anythings. Cfengine provides classes to control per-host behaviors, trying to simulate that behavior yourself by attempting to control which files go to which machine undermines Cfengine most powerful feature - class-based behavioral control. In other wo

Cfengine Help: Looking for ideas on people's config

2010-09-15 Thread no-reply
Forum: Cfengine Help Subject: Looking for ideas on people's config Author: hhammer Link to topic: https://cfengine.com/forum/read.php?3,18245,18245#msg-18245 Hi, new to cfengine, I'm using cfengine 3 and I'm trying to understand how to best organize things. Basically, I'd like to minimize the a