local_modules/freighthop/manifests/database.pp in freighthop-0.0.6 vs local_modules/freighthop/manifests/database.pp in freighthop-0.1.0

- old
+ new

@@ -1,12 +1,10 @@ class freighthop::database( - $database_flavors, - $databases, - $database_users + $flavors ) { - if (member($database_flavors, 'postgres')) { - class { 'freighthop::database::postgres': - databases => $databases, - database_users => $database_users, - } + if (member($flavors, 'postgres')) { + class { 'freighthop::database::postgres':} + } + if (member($flavors, 'mysql')) { + class { 'freighthop::database::mysql':} } }