svn versus patch level

2010-03-25 Thread Neil Watson
How can I match Subversion version numbers with Cf patch levels? For instance which svn number matches 3.0.4.p2? -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org

RE: cfrun runs without errors... but doesn't "do" anything

2010-03-25 Thread Todd Sayers
... and I found another error. I haven't found the solution to it, however: The error: User root is not allowed on this server My config (output of `grep -B2 -A2 -i AllowUse /var/cfengine/inputs/*.conf`): cfservd.conf- cfe_servers:: cfservd.conf-AllowConnectionsFrom = ( 10.10.1 ) cfser

install rpm from a file in cfengine 3?

2010-03-25 Thread Daniel Holth
In cfengine3, how do I use the packages: directive to either install an RPM directly from a file or URL, or define a class if the package isn't installed for use in commands: ? ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org

RE: Cfengine Help: Re: cfengine edit_line - don't understand, must be something very basic

2010-03-25 Thread Todd Sayers
I should have clarified that I'm using version_2 (installed via a "Dag Wieers" RPM -- cfengine-2.2.3-1.el5.rf ). I haven't seen "bundles" in CFengine v2. Thanks for your answer. I don't think that it's relevant to v2 (and could be wrong about that). > To: help-cfengine@cfengine.org > Subje

Cfengine Help: Re: cfengine edit_line - don't understand, must be something very basic

2010-03-25 Thread forum
Forum: Cfengine Help Subject: Re: cfengine edit_line - don't understand, must be something very basic Author: mark Link to topic: https://cfengine.com/forum/read.php?3,16672,16674#msg-16674 What you are doing byusing the getindices() list variable directly as an arbument to the edit bundle is to

RE: cfrun runs without errors... but doesn't "do" anything

2010-03-25 Thread Todd Sayers
I made an incorrect statement. I DO get an error... but only one: "Couldn't recv." Ooops. Here's an excerpt from `cfrun -d`: ... cfrun:myPolicyHost.myDomain.com: Strong authentication of server=myClient.myDomain.com connection confi

cfrun runs without errors... but doesn't "do" anything

2010-03-25 Thread Todd Sayers
It's likely that I've missed something "basic." I'm able to run cfagent from clients, successfully (I modify a "test file" to ensure that CFengine corrects it). When running `cfrun` from the policyhost (i.e., the "server"), I don't get errors. My test file is also not "corrected..." nor do I

cfengine edit_line - don't understand, must be something very basic

2010-03-25 Thread milo...@gmail.com
Hi, in some cases I have to edit a file multiple times. I found that file changes every time although it contains the required lines. I'm quite sure I'm missing something very basic. I've set up a small test file, please find it below. I run the latest RPM of community edition. cf-agent -V This

RE: Cfengine Help: Re: Accessing global arrays?

2010-03-25 Thread Justin Lloyd
/facepalm! Thanks for pointing that out. I knew that but it's an easy thing to overlook because it *looks* right. :) Strangely enough, though, I'm seeing two weird things relating to this. 1) In my original example, I have fixed the getindices() call and I noticed that I didn't have the common bu

Re: Cfengine3: Interface Naming when Building Firewall Rulesets from Templates

2010-03-25 Thread daniel . klein
FWIW, I see a possibly related bug in $(sys.interface). However, I still need to upgrade to the latest versions, so please submit a bugreport based on your version. To answer your question, you can use getindices to find out all the interface names that are active (i.e., have an IP address). bod

Cfengine Help: Re: Accessing global arrays?

2010-03-25 Thread forum
Forum: Cfengine Help Subject: Re: Accessing global arrays? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,16664,16669#msg-16669 The problem is in your syntax. You wrote getindices("$(variable)") when what you want is getindices("variable") These are two quite different thin

Cfengine Help: Re: Accessing global arrays?

2010-03-25 Thread forum
Forum: Cfengine Help Subject: Re: Accessing global arrays? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,16664,16668#msg-16668 Opps, didn't read your post closely enough. I was thinking LIST, not array. ___ Help-cfengine mailing li

Cfengine Help: Re: Accessing global arrays?

2010-03-25 Thread forum
Forum: Cfengine Help Subject: Re: Accessing global arrays? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,16664,16667#msg-16667 bundle agent test { vars: "at_fields" slist => getindices("$(g.asset_cache)"); ## THIS DOES NOT WORK See the documentation about this, but what

Cfengine3: Interface Naming when Building Firewall Rulesets from Templates

2010-03-25 Thread Traiano Welcome
Hi All I'm currently building PF (packet filter) rules file on freebsd using the example provided by "unit_copy_edit.cf". To identify the main network interface of the system, I'm trying to use the "sys.interface" variable in order to replace a keyword in a pf.conf file (in this case "INTERFAC