Fix PostgreSQL submodule.

This commit is contained in:
Ciaby 2015-05-20 18:51:13 -05:00
parent 75afcc43e2
commit b243eb02cb

View file

@ -11,6 +11,12 @@
# Sample Usage: # Sample Usage:
# #
class rhizo_base::postgresql { class rhizo_base::postgresql {
$pgsql_db = $rhizo_base::pgsql_db
$pgsql_user = $rhizo_base::pgsql_user
$pgsql_pwd = $rhizo_base::pgsql_pwd
$pgsql_host = $rhizo_base::pgsql_host
class { 'postgresql::globals': class { 'postgresql::globals':
manage_package_repo => true, manage_package_repo => true,
version => '9.3', version => '9.3',
@ -18,8 +24,8 @@ class rhizo_base::postgresql {
class { 'postgresql::server': class { 'postgresql::server':
} }
postgresql::server::db { 'rhizomatica': postgresql::server::db { "$pgsql_db":
user => 'rhizomatica', user => $pgsql_user,
password => postgresql_password('rhizomatica', $pgsql_pwd), password => postgresql_password('rhizomatica', $pgsql_pwd),
} }
} }