Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18597,18624#msg-18624 Seva Gluschenko Wrote: --- > Well, the issue is pretty clear and hopeful

Cfengine Help: Re: vars policy => "ifdefined" broken

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: vars policy => "ifdefined" broken Author: Igor Link to topic: https://cfengine.com/forum/read.php?3,18061,18625#msg-18625 https://cfengine.com/bugtracker/view.php?id=269 issue resolved. ___ Help-cfengine mailing list H

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18623,18626#msg-18626 -- You don't need to define global classes. -- You think you’re some kind of Jedi, wa

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18597,18627#msg-18627 Well, since I'm not Cfengine developer, it's not me whom to ask for. From my humble opinion, you can use the same rep

Cfengine Help: Re: Release candidate for 3.1.0 (source code only)

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Release candidate for 3.1.0 (source code only) Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18597,18628#msg-18628 Same report is great, but please send the policy code that causes the fault, and remember the backtrace ___

Cfengine Help: Re: Cfagent hangs on 'copy'

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfagent hangs on 'copy' Author: danci1973 Link to topic: https://cfengine.com/forum/read.php?3,18586,18629#msg-18629 mark Wrote: --- > This sounds like a bug that used to be in the > server. I would recommend yo

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18623,18630#msg-18630 Why would you need to do such a thing? Can you give a practical example?

Cfengine Help: Re: Cfagent hangs on 'copy'

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfagent hangs on 'copy' Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18586,18631#msg-18631 You might have to upgrade the server also. ___ Help-cfengine mailing list Help-cfengine@cfengine.org

Removing packages w/o specifying version, package_method yum, RHEL5

2010-10-06 Thread Jim Lawson
|Hi help-cfengine, I'm trying to use cfengine_stdlib.cf's definition of "package_method yum" to remove some packages. This is under RHEL5, with cfengine community 3.0.5p1. Here's an example .cf that fails: body common control { inputs => {"cfengine_stdlib.cf"}; #

Cfengine Help: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18633#msg-18633 All, I'm trying to edit a file of any kind that has a start/end delimiter and I want to remove all the text between the start/e

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18633,18634#msg-18634 Have you tried using different start and end delimiters? ___ Help-cfengine mai

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: msvob...@linkedin.com Link to topic: https://cfengine.com/forum/read.php?3,18623,18635#msg-18635 I'm trying to limit execution of policies without having to modify the po

Cfengine Help: Re: Removing packages w/o specifying version, package_method yum, RHEL5

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Removing packages w/o specifying version, package_method yum, RHEL5 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,18632,18636#msg-18636 Jim, You may want to define package_delete_convention instead, so that the name-only specification app

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18637#msg-18637 Just tried with this code and a different start/ending delim. Outcome is identical, everything between the selected region ge

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18633,18638#msg-18638 I've not done this type of editing before. You might try just inserting text in your region to see if that works as expec

Random delugues of cf-twin processes

2010-10-06 Thread Simon Oxwell
Hi all, I'm running cfengine 3.0.4 under a number of Solaris 10 zones across a number of Logical Domains. Occasionally - it seems to be just after installation - we get a build up of cf-twin processes, which don't seem to be hung per se - they're consuming some cpu cycles and they have a

Cfengine Help: Re: "Hourly" splayclass for daily staggered script execution; some nodes not executing

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: "Hourly" splayclass for daily staggered script execution; some nodes not executing Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,18359,18640#msg-18640 bundle agent test { classes: "rand" dist => { "2", "3", "5

Cfengine Help: Re: Edit region of file - remove existing content

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit region of file - remove existing content Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18633,18641#msg-18641 Good suggestion, I have already done that before I posted my original request. :) The insert works as expected, it's the del

Re: Removing packages w/o specifying version, package_method yum, RHEL5

2010-10-06 Thread Jim Lawson
> Forum: Cfengine Help > Subject: Re: Removing packages w/o specifying version, package_method yum, > RHEL5 > Author: zzamboni > Link to topic: https://cfengine.com/forum/read.php?3,18632,18636#msg-18636 > > Jim, > > You may want to define package_delete_convention instead, so that the > name-on

installing particular package versions

2010-10-06 Thread Grant Street
Hello We are currently on cfengine 2 and are looking to migrate to 3. One issue we have is the the inability to install a particular rpm version using the the package action. This causes us to "store" our current package versions by administering the repo rather than just in the cfengine confi

Re: installing particular package versions

2010-10-06 Thread Mark Burgess
Cfengine 3 just gives you a generic interface to pass through to the package manager, So it's up to you to say what you want. I never specify version numbers, but some people want to. In some cases package managers give unwanted side effects like "smart" management of dependencies that can brea

Re: installing particular package versions

2010-10-06 Thread Grant Street
Hi Mark So does that mean that cfengine 3 will pass the version number of a package through to the package manager? eg in cfengine 2 in the repo there are the following packages app-1.0 app-2.0 app-3.0 If I use the following packages: appcmp=eq version=0:2.0 action=install cfengine 2

Re: installing particular package versions

2010-10-06 Thread Mark Burgess
Grant, you will find a description in the manuals. As I said, you can choose. Cfengine doesn't do anything that you don't ask it to do. Cfengine 3 is a completely new animal, so don't begin by comparing it to 2. I would tyically say: http://www.cfengine.org/manuals/cf3-reference.html#packages-i

Cfengine Help: Re: I'm exploiting usemodule. There has got to be a better way to define global classes?

2010-10-06 Thread no-reply
Forum: Cfengine Help Subject: Re: I'm exploiting usemodule. There has got to be a better way to define global classes? Author: Metabaron Link to topic: https://cfengine.com/forum/read.php?3,18623,18647#msg-18647 I actually recognize this problem. I use the regline function to check if a file /et