jtimberman/ossec-cookbook — pull request #14 by evan2645 (2013-10-09 23:21:44+00:00)
Title: Don't use node.save in OSSEC recipes

Using node.save is considered toxic, to be used only when absolutely necessary. I do not see a need for it to be here (maybe historical?), but this particular node.save has begun to cause issues when something later on in the run fails. In that case, we are saving an incomplete set of attributes, and searches occurring on other nodes return unexpected data as a result.

Let's just get rid of it.