Re: [wpkg-users] profile question

2011-02-21 Thread Natxo Asenjo
On Mon, Feb 21, 2011 at 5:31 PM, Falko Trojahn wrote: > Am 21.02.2011 14:14, schrieb Natxo Asenjo: >> On Fri, Feb 18, 2011 at 2:09 PM, Falko Trojahn > Did you make the "openmanage-32bit" _package_ depend from package > "is_primergyrx300_s3"? > Cause, regarding priority, wpkg can install  "openman

Re: [wpkg-users] profile question

2011-02-21 Thread Falko Trojahn
Am 21.02.2011 14:14, schrieb Natxo Asenjo: > On Fri, Feb 18, 2011 at 2:09 PM, Falko Trojahn > wrote: >> Hi, >> >> On 18.02.2011 10:22, wrote Natxo Asenjo: >>> hi, >>> >>> is it possible to apply a profile depending on the result of a command? >> I think this should be possible with recent wpkg.js

Re: [wpkg-users] profile question

2011-02-21 Thread Natxo Asenjo
On Fri, Feb 18, 2011 at 2:09 PM, Falko Trojahn wrote: > Hi, > > On 18.02.2011 10:22, wrote Natxo Asenjo: >> hi, >> >> is it possible to apply a profile depending on the result of a command? > I think this should be possible with recent wpkg.js versions: > > - create a package "checkpkg" which has

Re: [wpkg-users] profile question

2011-02-18 Thread Malte Starostik
Am Freitag, 18. Februar 2011, 14:09:51 schrieb Falko Trojahn: > Hi, > > On 18.02.2011 10:22, wrote Natxo Asenjo: > > hi, > > > > is it possible to apply a profile depending on the result of a command? > > I think this should be possible with recent wpkg.js versions: > > - create a package "chec

Re: [wpkg-users] profile question

2011-02-18 Thread Natxo Asenjo
On Fri, Feb 18, 2011 at 2:09 PM, Falko Trojahn wrote: > Hi, > > On 18.02.2011 10:22, wrote Natxo Asenjo: >> hi, >> >> is it possible to apply a profile depending on the result of a command? > I think this should be possible with recent wpkg.js versions: > > - create a package "checkpkg" which has

Re: [wpkg-users] profile question

2011-02-18 Thread Falko Trojahn
Hi, On 18.02.2011 10:22, wrote Natxo Asenjo: > hi, > > is it possible to apply a profile depending on the result of a command? I think this should be possible with recent wpkg.js versions: - create a package "checkpkg" which has one (or more) "execute" check(s) http://wpkg.org/Packages.xml#Exec

[wpkg-users] profile question

2011-02-18 Thread Natxo Asenjo
hi, is it possible to apply a profile depending on the result of a command? If any of you uses cfengine, this would be the equivalent of defining a class based on the ReturnsZero function. So all hosts execute a given command and if the %errorlevel% is 0, then a profile could be dynamically appli