system-config/modules/openstack_project/manifests/dashboard.pp
Anita Kuno 10d5187296 Changed require mysql to include mysql::server in dashboard class.
Change-Id: Iacf0ef038e90faaacdb138b691f9c254bd3f5ad8
Reviewed-on: https://review.openstack.org/25287
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-25 15:57:00 +00:00

32 lines
834 B
Puppet

class openstack_project::dashboard(
$password = '',
$mysql_password = '',
$sysadmins = []
) {
include mysql::server
class { 'openstack_project::server':
iptables_public_tcp_ports => [80, 443, 3000],
sysadmins => $sysadmins
}
class { '::dashboard':
dashboard_ensure => 'present',
dashboard_user => 'www-data',
dashboard_group => 'www-data',
dashboard_password => $password,
dashboard_db => 'dashboard_prod',
dashboard_charset => 'utf8',
dashboard_site => $::fqdn,
dashboard_port => '3000',
mysql_root_pw => $mysql_password,
passenger => true,
}
mysql::server::config { '50_innodb_file_per_table':
settings => '[mysqld]\ninnodb_file_per_table\n',
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79