RE: Team-based Cfengine Management

2010-02-02 Thread Justin Lloyd
Mike, Ok, I see, the /etc/classes directory is more of a semaphore mechanism for emergency external control of how Cfengine will behave on a particular system without having to actually modify the policy. IMHO, that's actually an elegant solution to the 3 AM emergency problem, eliminating a lot of

Re: cf3 and cfengine_stdlib.cf

2010-02-02 Thread NWatson
I looks to me as though getindices expects an array but 'v', passed to the bundle, is perhaps something else. Sincerely, -- Neil Watson 416-673-3465 CONFIDENTIALITY WARNING This communication, including any attachments, is for the exclusive use of addressee and may contain proprietary and/or

cf3 and cfengine_stdlib.cf

2010-02-02 Thread Bruce Carleton
I'm curious to know if the cfengine_stdlib.cf name for getindices was changed or comes from some other include? I did some searching around but I didn't find anything obvious when I checked. I'm trying to set up cf3 from scratch to do some basic tasks. I just need to manage some config files and

Re: Team-based Cfengine Management

2010-02-02 Thread Mike Hoskins
On 2/2/10 12:27 PM, "Justin Lloyd" wrote: > I've not thought it through completely, but I really like the > /etc/classes directory idea. I had an idea of using an > /etc/digitalglobe.conf shell-style file that could be parsed or sourced > by Cfengine, shell scripts, etc. and could contain comments

RE: Team-based Cfengine Management

2010-02-02 Thread Justin Lloyd
Mike, I definitely want to have a form of documentation around our Cfengine and overall Unix infrastructure. I plan on using our MOSS server for just that sort of thing. Wikis, lists, blogs, forums, etc. will be invaluable in improving our documentation and communications as I overhaul and enhance

Re: Problem with purge and failover in copy statement

2010-02-02 Thread Mark Burgess
Chris, we would rather get everyone migrating to using Cfengine 3. Only mission critical support will be provided for Cfengine 2. Chris Ward wrote: > > We had the same requirement in our environment, that is, the ability to > purge against a single file copy rule. Attached is a patch file we're

Re: Problem with purge and failover in copy statement

2010-02-02 Thread Chris Ward
We had the same requirement in our environment, that is, the ability to purge against a single file copy rule. Attached is a patch file we're using against 2.2.10 to support this kind of behavior. It works for both local and server-side copy rules. Just apply the patch to 'src/do.c'. Mark, i

Re: Team-based Cfengine Management

2010-02-02 Thread Mike Hoskins
On 2/2/10 12:08 AM, "Tim Cutts" wrote: > Finally, if there really are some machines which need to be configured > by hand (something I resist strongly) we have a minimal_cfe class > where the vast majority of our cfengine policy is skipped, and only > the bare essentials are checked. We do the sa

Re: distribution server vs end host setup

2010-02-02 Thread Jonathan Clarke
On 02/02/2010 18:50, Lisa Sittler wrote: > Hi, > > I am just starting with cfengine and have a few basic questions. Hi, and welcome to cfengine :) > First, a little explanation as to my setup: > > I downloaded the latest release ( cfengine-3.0.3.tar.gz) and I have it > working on a single host. >

Re: distribution server vs end host setup

2010-02-02 Thread NWatson
It is easiest to give your hosts all of the cf-* binaries. You can purchase prebuilt Cfengine packages from cfengine.com. There are some unofficial free packages around. I've never used them myself. I usually build my own but for large deployments that need many different binaries I recomme

distribution server vs end host setup

2010-02-02 Thread Lisa Sittler
Hi, I am just starting with cfengine and have a few basic questions. First, a little explanation as to my setup: I downloaded the latest release ( cfengine-3.0.3.tar.gz) and I have it working on a single host. I want to set up that host as a distribution server. I have created the /var/c

RE: error in stdlib

2010-02-02 Thread Zamboni, Diego
Just to second the request for more informative error messages. Another one I've seen (I think it's originating in the stdlib, but without file names/line numbers it's hard to tell): cf3 Initiate variable convergence... cf3 !? Unresolved or non-existent variables in function call arguments, sk

RE: How to get all the values of an array?

2010-02-02 Thread Zamboni, Diego
Right - this would work fine. Still, it seems an odd omission to have no counterpart to the getindices() function. Is this intentional? Thanks, --Diego From: Nicolas Charles [mailto:charl...@gmail.com] Sent: Saturday, January 30, 2010 2:33 AM To: Diego Zamboni Cc: help-cfengine@cfengine.org Sub

changing cf-execd's run schedule

2010-02-02 Thread NWatson
Do you ever change cf-execd's run schedule? If so, how do you go about restarting cf-execd? The daemon does not seem to take a HUP signal. Typically my promises involve ensuring that cf-execd is running. Now I'll need to come up with something to restart it. How do you do this? Going even

slist in inputs

2010-02-02 Thread VERBIESE LAURENT
Hi, For modularity reasons, I'd like to use a dynamic slist for inputs, for example : body common control { bundlesequence => { "update", "executor", "monitor", "server", "run" }; inputs => { "classes.c

building cfengine 3.0.3 (pgsql problem)

2010-02-02 Thread Sven Hergenhahn
Hi, a similar question to this has been asked before here, but for 3.0.0b and the proposed solutions do not seem to work for me. First of all - what is --with-sql for? What do I need these SQL functions for? Or do I only loose some not so important extra-features? If so - which ones? I'm on Ub

Re: Team-based Cfengine Management

2010-02-02 Thread Tim Cutts
On 1 Feb 2010, at 5:47 pm, Justin Lloyd wrote: > Hi all, > > > > For those of you who are part of a team that manage a Cfengine-based > environment, how do you prevent people from making local changes to > things that are managed by Cfengine, thus causing local changes to get > wiped out? For exa

Re: Team-based Cfengine Management

2010-02-02 Thread Tim Cutts
On 1 Feb 2010, at 5:47 pm, Justin Lloyd wrote: > * Change Control - well-defined dept/company procedures for > change approval, and all changes to systems should be done only > through > Cfengine policy, never locally on any system Change approval, if made an absolute blanket rule, can