Skip to content

Instantly share code, notes, and snippets.

@b4ldr
Created November 3, 2020 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b4ldr/56db9e5064c86f5a6f316437083bdb71 to your computer and use it in GitHub Desktop.
Save b4ldr/56db9e5064c86f5a6f316437083bdb71 to your computer and use it in GitHub Desktop.
mongodb::dbs:
testdb:
user: user1
password_hash: a15fbfca5e3a758be80ceaf42458bcd8
class mongodb (
$dbs = {}
) {
$dbs.each |$db, $config| {
mongodb::db {$db:
* => $config
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment