[COOK-3466] Reduce warnings about duplicate resources 

http://tickets.opscode.com/browse/COOK-3466

The chef-client cookbook puts out a lot of warnings about duplicated resources, because it invokes a helper-method in multiple places.
This just puts a variable in node.run_state, so the helper-method will only take effect once.