Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/discourse/manifests/init.pp

Issue 5018733013630976: 1388 - Update postgresql module to 4.x (Closed)
Patch Set: Created Oct. 6, 2014, 11:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/discourse/manifests/init.pp
===================================================================
--- a/modules/discourse/manifests/init.pp
+++ b/modules/discourse/manifests/init.pp
@@ -5,16 +5,16 @@
$is_default = false
) inherits private::discourse {
- include postgresql::server
+ class {"postgresql::server":}
- postgresql::database {'discourse':}
+ postgresql::server::database {'discourse':}
- postgresql::role {'discourse':
+ postgresql::server::role {'discourse':
password_hash => $database_password,
db => 'discourse',
login => true,
superuser => true,
- require => Postgresql::Database['discourse']
+ require => Postgresql::Server::Database['discourse']
}
$basic_dependencies = ['postgresql-contrib', 'redis-server', 'ruby1.9.1',
@@ -125,7 +125,7 @@
User['discourse'], File['/etc/sudoers.d/discourse'],
Exec['fetch-discourse'],
File['/opt/discourse/config/discourse.conf'],
- Postgresql::Role['discourse']]
+ Postgresql::Server::Role['discourse']]
}
Discourse::Sitesetting <| |> {

Powered by Google App Engine
This is Rietveld