Revert "Add a local MySQL database to paste.o.o"

Remove the local database management on paste.openstack.org now that
it's back to running with a remote Trove database again.

This reverts commit b7e352cc86.

Change-Id: I7b8513b427395f610b23e3f226109ea954ee210b
This commit is contained in:
Jeremy Stanley 2015-12-29 20:46:58 +00:00
parent 8cf5b6abd5
commit 4d0cea3403
2 changed files with 0 additions and 24 deletions

View File

@ -342,7 +342,6 @@ node 'paste.openstack.org' {
class { 'openstack_project::paste':
db_password => hiera('paste_db_password'),
db_host => hiera('paste_db_host'),
mysql_root_password => hiera('paste_mysql_root_password'),
}
}

View File

@ -3,7 +3,6 @@
class openstack_project::paste (
$db_password,
$db_host,
$mysql_root_password,
$vhost_name = $::fqdn,
) {
include lodgeit
@ -14,27 +13,5 @@ class openstack_project::paste (
db_user => 'openstack',
vhost_name => $vhost_name,
image => 'header-bg2.png',
require => Mysql::Db['openstack'],
}
class { 'mysql::server':
config_hash => {
'root_password' => $mysql_root_password,
'default_engine' => 'InnoDB',
'bind_address' => '127.0.0.1',
}
}
include mysql::server::account_security
mysql::db { 'openstack':
user => 'openstack',
password => $db_password,
host => 'localhost',
grant => ['all'],
charset => 'utf8',
require => [
Class['mysql::server'],
Class['mysql::server::account_security'],
],
}
}