added condition on node.save to be usable with Chef Solo