Ensure db and db users created before validation

Ensure that for PostgreSQL backends, the database validation functions
are not run until the initial database creation and user role creation
has been completed.

Closes-Bug: #1298605
This commit is contained in:
Chris Ricker 2014-04-02 08:44:25 -07:00
parent 5ad2a6d8b2
commit 209f0c6476

View file

@ -104,7 +104,7 @@ class puppetdb(
database_name => $database_name,
database_username => $database_username,
database_password => $database_password,
before => Class['puppetdb::server']
before => [Class['puppetdb::server'],Class['puppetdb::server::validate_db']],
}
}
}