MongoDB Puppet modules refactoring and parameter validation