fix NodeObject#put_secret and NodeObject#chef_run

these functions will now delegate to the resource of the object