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 (http://www.sparrowmailapp.com/?sig)
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 millisami@gmail.com 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