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

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

Issue 6651739155464192: Issue 2185 - Migrate Rieveld superuser creation to fixture (Closed)
Patch Set: Created March 20, 2015, 11:33 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
« no previous file with comments | « modules/private-stub/hiera/roles/codereviewserver.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/rietveld/manifests/init.pp
diff --git a/modules/rietveld/manifests/init.pp b/modules/rietveld/manifests/init.pp
index 8df5dc96364c02c1fec8692462bb136e797ebff4..e0ea8c53e4fa68863d7042830da46a0ba7b9d9ad 100644
--- a/modules/rietveld/manifests/init.pp
+++ b/modules/rietveld/manifests/init.pp
@@ -80,12 +80,6 @@ class rietveld(
require => [Package['gunicorn'], File['/etc/init.d/rietveld']]
}
- exec {'set_superuser':
- command => "echo \"from django.db import DEFAULT_DB_ALIAS as database; from django.contrib.auth.models import User; User.objects.db_manager(database).create_superuser('admin', 'admins@adblockplus.org', '${admin_password}')\" | ./manage.py shell",
- cwd => "${rietveld_home}",
- require => Exec['install_rietveld'],
- }
-
file {"${rietveld_home}/fixtures":
ensure => directory,
owner => 'rietveld',
« no previous file with comments | « modules/private-stub/hiera/roles/codereviewserver.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld