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

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

Issue 9437206: Fix dependencies (Closed)
Patch Set: Created Feb. 28, 2013, 8:14 p.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/discourse/manifests/init.pp
===================================================================
--- a/modules/discourse/manifests/init.pp
+++ b/modules/discourse/manifests/init.pp
@@ -7,7 +7,8 @@
password_hash => $database_password,
db => 'discourse',
login => true,
- superuser => true
+ superuser => true,
+ require => Postgresql::Database['discourse']
}
package {['postgresql-contrib', 'redis-server', 'ruby1.9.1']:
@@ -107,7 +108,8 @@
User['discourse'], File['/etc/sudoers.d/discourse'],
Exec['fetch-discourse'],
File['/opt/discourse/config/database.yml'],
- File['/opt/discourse/config/redis.yml']]
+ File['/opt/discourse/config/redis.yml'],
+ Postgresql::Role['discourse']]
}
Discourse::Sitesetting <| |> {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld