Skip to content

Commit

Permalink
Ensure postgres::server is installed before we attempt to create a DB
Browse files Browse the repository at this point in the history
Otherwise, we might attempt to create a DB but not have things
installed. Which will require an additional puppet run to fix things.

Thanks to Patrick Hemmer
  • Loading branch information
akumria committed Dec 27, 2012
1 parent 66056b7 commit 38b7ac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ Contributors
* [Marcello Barnaba](https://github.com/vjt)
* [Ramón Cahenzli](https://github.com/psy-q)
* [Bert Hajee](https://github.com/hajee)
* [Patrick Hemmer](https://github.com/phemmer)

Copyright and License
---------------------
Expand Down
1 change: 1 addition & 0 deletions manifests/db.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
$locale = 'en_US.UTF-8',
$template = 'template0',
) {
require postgresql::server

pg_user {$owner:
ensure => present,
Expand Down

0 comments on commit 38b7ac5

Please sign in to comment.