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

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

Issue 5686568333344768: Issue 2184 - Configure codereview setup to use PostgreSQL (Closed)
Patch Set: Created April 15, 2015, 9:06 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
Index: modules/rietveld/manifests/init.pp
diff --git a/modules/rietveld/manifests/init.pp b/modules/rietveld/manifests/init.pp
index 59e3a353276fadc167b58a5bc0d85e34a7b1ef2b..2149e1fef5b23319595c206e78945d910d47f0e1 100644
--- a/modules/rietveld/manifests/init.pp
+++ b/modules/rietveld/manifests/init.pp
@@ -5,6 +5,10 @@ class rietveld(
$is_default = false,
$secret_key = hiera('rietveld::secret_key', ''),
$fixtures = hiera('rietveld::fixtures', {}),
+ $database = hiera('rietveld::database', {
Felix Dahlke 2015/04/22 05:32:23 Shouldn't we just set engine and name as below in
mathias 2015/04/23 16:28:49 The idea is to have a working development setup wi
Felix Dahlke 2015/05/11 20:10:45 So you mean you'd want to move away from private-s
+ 'engine' => 'sqlite3',
+ 'name' => 'dev.db',
+ }),
) {
include nginx
@@ -60,7 +64,7 @@ class rietveld(
require => [
File["${rietveld_home}/Makefile"],
File["${rietveld_home}/settings.py"]],
- onlyif => "test ! -f ${$rietveld_home}/dev.db",
+ onlyif => "test ! -e ${$rietveld_home}/gae2django",
}
file {'/etc/init/rietveld.conf':

Powered by Google App Engine
This is Rietveld