system-config/modules/openstack_project/manifests/paste.pp
Spencer Krum 1add0816a4 Capitalize references to resoruces
This removes a deprication notice under puppet 3.7

Change-Id: Icb1ff6b9c2f8e5df8d75388b64fa390732c3a990
2015-04-07 14:03:32 -07:00

37 lines
839 B
Puppet

# == Class: openstack_project::paste
#
class openstack_project::paste (
$db_password,
$mysql_root_password,
) {
include lodgeit
lodgeit::site { 'openstack':
db_host => 'localhost',
db_password => $db_password,
port => '5000',
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'],
],
}
}