Migrate to using trove db for pastebin

The current drizzle-based pastebin has gotten a bit slow. Move to using
remote trove db.

Change-Id: I62fd164af26199fd9ed69770fac73c3e2f6a5344
This commit is contained in:
Monty Taylor
2014-05-02 12:25:49 -07:00
parent 4a14a332fa
commit ae8714d7f1
5 changed files with 23 additions and 48 deletions

View File

@@ -1,6 +1,8 @@
# == Class: openstack_project::paste
#
class openstack_project::paste (
$db_host,
$db_password,
$sysadmins = []
) {
class { 'openstack_project::server':
@@ -9,11 +11,9 @@ class openstack_project::paste (
}
include lodgeit
lodgeit::site { 'openstack':
port => '5000',
image => 'header-bg2.png',
}
lodgeit::site { 'drizzle':
port => '5001',
db_host => $db_host,
db_password => $db_password,
port => '5000',
image => 'header-bg2.png',
}
}