Updated chef file block to set action instead of assigning an action local. Added check to ensure the block is not run on non-webserver instances.