- From: Joshua Miller <
>
- To: Joshua Miller <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Re: Re: Chef not updating as I expect.
- Date: Fri, 16 Sep 2011 03:23:17 -0700
Sorry hit send before reviewing ... I could blame writing it on my phone at
3:20 am but that would be to easy
>
package "nginx" do
>
action :upgrade
>
end
>
On Sep 16, 2011, at 3:20 AM, Joshua Miller
<
>
wrote:
>
Default action of package is install not upgrade.
>
>
http://wiki.opscode.com/display/chef/Resources#Resources-Package
>
>
If you look at the recipe you will see it uses the default call of:
>
>
package "nginx"
>
>
Personally I write my cookbooks to all use a attribute version that
>
defaults to false, there by allowing me to choose my version only when
>
needed.
>
>
All boxes build after your repo addition will get the new nginx.
>
>
Quick fix update the nginx ookbook to
>
>
package "nginx"
>
action :install
>
end
>
>
>
>
On Sep 16, 2011, at 2:49 AM, Nikolay Sturm
>
<
>
>
wrote:
>
>
> * John E. Vincent (lusis) [2011-09-13]:
>
>> It should download new cookbooks when they change. What you may be
>
>> seeing (though I thought it was resolved with 0.10.x) is metadata.json
>
>> being uploaded.
>
>
>
> Yes, you are right, it might have been metadata.json. All updates fine
>
> here, now.
>
>
>
> cheers,
>
>
>
> Nikolay
>
>
>
> --
>
> "It's all part of my Can't-Do approach to life." Wally
- [chef] RE: Unable to set environment on a node during bootstrap, (continued)
- [chef] RE: Unable to set environment on a node during bootstrap, Michael Garrett, 09/12/2011
- [chef] Re: RE: Unable to set environment on a node during bootstrap, Noah Kantrowitz, 09/12/2011
- [chef] RE: Re: RE: Unable to set environment on a node during bootstrap, Michael Garrett, 09/12/2011
- [chef] Re: RE: Re: RE: Unable to set environment on a node during bootstrap, Michael Herman, 09/12/2011
- [chef] RE: Re: RE: Re: RE: Unable to set environment on a node during bootstrap, Michael Garrett, 09/12/2011
- [chef] Chef not updating as I expect., Geoff Meakin Acid, 09/13/2011
- [chef] Re: Chef not updating as I expect., Nikolay Sturm, 09/13/2011
- [chef] Re: Re: Chef not updating as I expect., John E. Vincent (lusis), 09/13/2011
- [chef] Re: Re: Re: Chef not updating as I expect., Nikolay Sturm, 09/16/2011
- [chef] Re: Re: Re: Re: Chef not updating as I expect., Joshua Miller, 09/16/2011
- [chef] Re: Re: Re: Re: Chef not updating as I expect., Joshua Miller, 09/16/2011
- [chef] Re: Chef not updating as I expect., Aaron Abramson, 09/13/2011
Archive powered by MHonArc 2.6.16.