Did you check whether you have multiple copies of the cookbook locally? Knife will combine cookbooks that exist in multiple locations in your cookbook paths into a single cookbook with one overlaid on the other. This feature is deprecated and supposed to trigger a warning, but I just discovered that the warning was inadvertently removed, so it’s possible that you are triggering this feature accidentally without knowing it.
On Wednesday, March 26, 2014 at 1:32 PM, Kenneth Barry wrote:
> knife cookbook show COOKBOOK VERSION shows me the mdf hash of the old template file, which happens to be the same file obtained when downloading the cookbook.
> I deleted all versions of the cookbook from the chef server so its only offering one for download.
>
> in plain terms
> it was version 1.0.0(example), and i noticed the template wasn't changing (as in, the file created by templates isnt different), so i change it to 1.0.1, deleted the cookbook "1.0.0" from the server, and uploaded new version.
>
> same results (template appears to be the old one still),
>
> I downloaded the cookbook from server, and it downloaded the old template file, not the new one)
>
> it appears, by all indications, that the chef server is retaining the old tempalte, even thru a knife cookbook delete,
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.