[chef] Re: Re: Re: query if the package already installed


Chronological Thread 
  • From: Vasiliy G Tolstov < >
  • To:
  • Subject: [chef] Re: Re: Re: query if the package already installed
  • Date: Wed, 07 Jul 2010 10:44:15 +0400
  • Organization: Selfip.Ru

В Втр, 06/07/2010 в 12:20 -0600, Andrew Shafer пишет:
> 
> 
> I think he's asking a different question.
> 
> 
> Vasiliy wants to conditionally do something based on packages being
> installed.
> 
> 
> My opinionated answer is, you should not think about the problem this
> way.
> 
> 
> You should specify that a package is installed or it is not, then do
> the appropriate things.
> 
> 
> If you wanted to add functionality that would report installed
> packages, in my opinion, the appropriate place is probably ohai.
> 

I'm try to modify ohai to get php modules under languages/php. But if
ohai would get all modules for all languages - this slowdown ohai run. I
think - do what i need only in recipes...


-- 
Vasiliy G Tolstov 
< >
Selfip.Ru




Archive powered by MHonArc 2.6.16.

§