DRY

https://github.com/example42/puppet-mariadb/commit/4387ce603866ba6b3a53236d7fad2be54eccba1f