- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: How to disable deploy_revision {} receipe from the later recipe?
- Date: Mon, 3 Sep 2012 10:05:13 +1200
could be a bug here
https://github.com/opscode/chef/blob/master/chef/lib/chef/provider.rb#L130-133
needs more info (debug logs)
Cheers
--AJ
On 2 September 2012 20:19, Sachin Sagar Rai
<
>
wrote:
>
Ohai!
>
>
One of my chef recipe uses the old, going to be deprecated, cookbook
>
`application`
>
>
In my recipe, I used all the resources defined via application's cookbook
>
recipe except the `deploy_revision...` block.
>
>
To just disable this, in my cookbook, I used
>
>
deploy_revision app_name do
>
action :nothing
>
end
>
>
Which would not run that specific block while converging. But since I
>
updated the chef to 10.12 from 10.8, its not ignoring this. Why its
>
happening? Or it'ld be fine how can I disable the `deploy_revision...`
>
resource to exclude when converging?
>
>
>
-------------------------------------------
>
@millisami
>
~ Sachin Sagar Rai
>
Ruby on Rails Developer
>
http://tfm.com.np
>
http://nepalonrails.tumblr.com
>
Sent with Sparrow
>
Archive powered by MHonArc 2.6.16.