fuel-library/deployment/puppet/nailgun/manifests/database.pp
Matthew Mosesohn 1f1617b8cf Adapt puppetlabs-postgresql to Fuel
Fuel uses a custom package name "postgresql" instead
of "postgresql94", so this value needs to be passed,
along with bindir value.

Also adapted all manifest references to postgresql::db to
postgresql::server::db.

Change-Id: I1ec329ee31ecc6edfd357329bfc84df95ecf7ddc
Closes-Bug: #1386118
2014-10-27 14:35:13 +00:00

13 lines
224 B
Puppet

class nailgun::database(
$user,
$password,
$dbname,
){
postgresql::server::db{ $dbname:
user => $user,
password => $password,
grant => 'all',
require => Class['::postgresql::server'],
}
}