Simple modification to be compatible with Chef Solo

This is a correction for my last one https://github.com/atomic-penguin/cookbook-gitlab/pull/27.

In short : node.save should not happen with Chef Solo, so I added a simple verification before a node.save call in both mysql and postgresql recipes.