[chef] Re: Re: Re: Re: Clear package cache?


Chronological Thread 
  • From: Lee Huffman < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Clear package cache?
  • Date: Thu, 28 Oct 2010 15:08:55 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=blueboxgrp.com; h=message-id:from :to:in-reply-to:content-type:mime-version:subject:date: references; q=dns; s=mail; b=iY/l0vcNSYf20FzOGOWYfnhAnD96B+GAFa+ rkx9NRdtREvAO+zfRzvsGppGWWn6DXibG/2bPPPCrW0DcQpqUTozrX1S2s6bRqsE 0rA9L1okzJkg6+OWgC82JbJ/xbvS2ks9J5NQoH0tohRQZgGrNs/pVxeYVIX16DPm 1EFrmYG0=

Hey Bryan,

I was specifying the architecture with the package names, like so:

packages = %w{ovzkernel.x86_64 vzctl.x86_64 vzctl-lib.x86_64 vzquota.x86_64}
packages.each do |pkg|
  package pkg
end

Which works on the command line, but Chef is apparently not a fan. I ended up with this:

packages = %w{ovzkernel vzctl vzctl-lib vzquota}
packages.each do |pkg|
  yum_package pkg do
    arch "x86_64"
    action :install
  end
end

Hope this helps!

On Oct 28, 2010, at 1:20 PM, Bryan McLellan wrote:

I'm curious what else you did; care to share?

btm


On Oct 28, 2010 2:31 PM, "Lee Huffman" < "> > wrote:

Thanks a lot, Seth. I was able to resolve this with your suggestion and a couple other tweaks.

Appreciate the help!

On Oct 27, 2010, at 9:01 PM, Seth Chisamore wrote: > Lee, > Create an execute resource and notify...






Archive powered by MHonArc 2.6.16.

§