[chef] Re: query if the package already installed


Chronological Thread 
  • From: Alex Soto < >
  • To:
  • Cc:
  • Subject: [chef] Re: query if the package already installed
  • Date: Tue, 6 Jul 2010 10:56:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=XrwmiHNpscelFgQIoBBJFFDpTPR/V7k68VumKyibaHcicDmb5dTuSBYRQBHpEte/99 GEaZ/jM1A8mxpLc1dJCL8kQe34iMQeaFhKCiv2vtUeMyTwBGA26BycfOhdc/S0xYp66h n2JdUFA42IB2O6f8RXFhMUkhDmDctcGtbILcw=

If you use the package resource it should be automatic.

On Jul 6, 2010, at 5:09 AM, Vasiliy G Tolstov wrote:

> I need to do specific actions in recipe if the some packages are
> installed. How can i check this automatic? Or i need to write some code
> (bash ...) ? Does chef Package resource provide query for installed
> packages ?
> 
> 
> -- 
> Vasiliy G Tolstov 
> < >
> Selfip.Ru
> 




Archive powered by MHonArc 2.6.16.

§