I stole this code from here: http://wiki.opscode.com/pages/viewpage.action?pageId=7274964#LightweightResourcesandProviders(LWRP)-DefaultAction. Is that not accurate then?