Re: CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-06 Thread Bas van der Vlies
On 06-07-11 09:48, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Cfengine Help: Re: Advice on using package promises > Author: svenXY > Link to topic: https://cfengine.com/forum/read.php?3,22694,22747#msg-22747 > > Hi, > > sorry to bring this up once

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,22694,22748#msg-22748 "subversion" package_policy => "delete",

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-06 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,22694,22747#msg-22747 Hi, sorry to bring this up once more, but there's still stuff to be understood. Right now I have installed: subve

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: svenXY Link to topic: https://cfengine.com/forum/read.php?3,22694,22741#msg-22741 great! much better! I think I can finally proceed now. With subversion installed both i386 and x86_64, this upgrade

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22694,22733#msg-22733 Sven, You're bumping into a couple problems: - current releases are subject to a bug in code that compares the ve

Re: CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-05 Thread Sven Hergenhahn
Hi, I'm still trying to get this to work: Goal ist to install or at least upgrade to subversion 1.6.x # /bin/rpm -q --qf '%{name} %{version} %{arch}\n' subversion subversion 1.4.2 x86_64 bundle agent packagesClient { packages: "subversion" package_policy => "addupdate", pack

Re: CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-04 Thread Sven Hergenhahn
Hi Jessica, thanks for bringing this topic into view. I'm currently struggling myself with a consistent way of installing/updating RPMs via yum and I'm also challenged by the necessity to upgrade some packages continuosly with the latest version available while installing and keeping others at a

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-04 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22694,22725#msg-22725 Thanks, Bas and Mark, for your attention to this - much appreciated. I'll rebuild from trunk and retest. Some tho

Re: Cfengine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-04 Thread Bas van der Vlies
On 01-07-11 16:40, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: Re: Advice on using package promises > Author: jgreer > Link to topic: https://cfengine.com/forum/read.php?3,22694,22697#msg-22697 > > Bas, > > Thanks for the feedback.

CFEngine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-02 Thread no-reply
Forum: CFEngine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22694,22703#msg-22703 New special topics guide draft up on the website to help with the basics. Will improve this over time

Cfengine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22694,22698#msg-22698 Jessica, it is not really that simple, because the problem lies in knowing whether versions are greater or lesser than

Cfengine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-07-01 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22694,22697#msg-22697 Bas, Thanks for the feedback. I was hoping, in the general case (there may be occasions where I'll need to be

Re: Cfengine Help: Re: Advice on using package promises

2011-07-01 Thread Bas van der Vlies
Jessica, I just test your example on a rpm based (Centos) yum installation and had problems with your body package_method yum_rpm_exact. Is does not extract the version of the package, eg: rpm -q apr {{{ apr-1.2.7-11.el5_6.4 }}} Your version display this as: package: apr version: 1.2.7 and r

Cfengine Help: Re: Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22689,22691#msg-22691 Sure - see my latest post in the original thread. Thanks, -Jessica

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22690#msg-22690 That results in syntax errors in r2498. It appears not to respect 'package_version' as an alternative to passing the version as part of the

Re: Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread Bas van der Vlies
Can you post your config? What i have patched is in your output: {{{ > Checking if package (wireshark,1.0.15,*) is at the desired state > (installed=1,matched=0) }}} it means that the package is installed but does not meet your requirements. Else you would get this message: {{{ Package (%s) alr

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22672,22688#msg-22688 It's been a while since I personally looked at packages, and I cant look at this right now, but have you tried specifying the version in this

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22686#msg-22686 Mark, None of these move the package from 1.0.11 to 1.0.15 - please advise. # grep package_select /var/cfengine/inputs/dcsunix/packagesCli

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22672,22684#msg-22684 Perhaps you need to try these options? http://cfengine.com/manuals/cf3-reference.html#package_005fselect-in-packages

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22682#msg-22682 Mark, The 'update' pass doesn't seem to find packages older than the version I've requested, so the package_update_command doesn't fire: P

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22680#msg-22680 Scratch this - was calling cf-agent out of the wrong path, so this was still the 3.1.2 version. Sorry about that - will rerun and post resu

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22679#msg-22679 Sure thing - built from rev 2498. Changed packages policy to simply: "wireshark-1.0.15" package_policy => "addupdate", pa

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22672,22678#msg-22678 Jessica, best to try the trunk svn if you can because some discussion and fixing has already been done on this today whlie you were asleep(!

Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: jgreer Link to topic: https://cfengine.com/forum/read.php?3,22672,22677#msg-22677 Mark, I'll check this morning and get back to you. Many thanks!! -Jessica ___ Help-cfengine m

Re: Cfengine Help: Re: Advice on using package promises

2011-06-30 Thread Bas van der Vlies
On 30-06-11 06:13, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Advice on using package promises > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,22672,22674#msg-22674 > > Can you tell me if 3.1.5 is broken? There is a bug report and a patch (which > is h

Cfengine Help: Re: Advice on using package promises

2011-06-29 Thread no-reply
Forum: Cfengine Help Subject: Re: Advice on using package promises Author: mark Link to topic: https://cfengine.com/forum/read.php?3,22672,22674#msg-22674 Can you tell me if 3.1.5 is broken? There is a bug report and a patch (which is hard to understand) in the bug tracker. If you can provide the