Return to Snippet

Revision: 36551
at November 23, 2010 03:51 by therobot


Initial Code
node.automatic_attrs[:foo].delete(:bar) rescue nil

Initial URL

                                

Initial Description
It's necessary to do this for each of automatic_attrs, override_attrs, normal_attrs and default_attrs

Initial Title
Programatically Delete chef attributes on a recipe

Initial Tags
ruby

Initial Language
Ruby