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 ___ Help

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

Re: Cfengine Help: Re: Client config examples (update.cf / failsafe.cf) for multiple Master Policy Servers

2011-06-30 Thread Aleksey Tsalolikhin
Aye, it's clever. It's from Mark Burgess or Dan Klein, I don't remember which at this point. I'm just a hoarder of useful Cfengine examples. :) I have over 50 of them at this point... -at On Wed, Jun 29, 2011 at 5:57 PM, Mike Svoboda wrote: > That's actually really creative.  =)  Bonus point

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 policy code sharing

2011-06-30 Thread Aleksey Tsalolikhin
I haven't had time to nurture or promote the "github.com/cfengine" repo since setting it up -- but I did get three contributions, from hawson (name unknown), Jesse Becker and Nick Anderson. When I see something cool posted on the Cfengine list, and I have time, I add it to the Shared Configs Index

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: Cfengine3 binds to wrong interface when having multiple interfaces

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine3 binds to wrong interface when having multiple interfaces Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,22186,22683#msg-22683 Hi all, Consider this ifconfig-printout from a Solaris 10 ldom. The hosts primary interface ($(sys

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: Search and replace... need some regex help, please. handling the scenario where the setting has drifted.

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Search and replace... need some regex help, please. handling the scenario where the setting has drifted. Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,22667,22681#msg-22681 Aleksey, I think for this you could use my modified set_variable_

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: Cfengine Help: Function readstringarrayidx () - Need Regex help

2011-06-30 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Function readstringarrayidx () - Need Regex help Author: joe77 Link to topic: https://cfengine.com/forum/read.php?3,22626,22675#msg-22675 i Daniel, thanks for your great answer. I like your regex but strangely in Cfengine (unlike in a testing appli