f31a426c65
Now with extra unwrap! Change-Id: I7c622ffa77821f33f911793fc6b6cdaaba37904a Reviewed-on: https://review.openstack.org/15052 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
27 lines
698 B
Puppet
27 lines
698 B
Puppet
class openstack_project::dashboard(
|
|
$password = '',
|
|
$mysql_password = '',
|
|
$sysadmins = []
|
|
) {
|
|
|
|
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,
|
|
}
|
|
}
|
|
|
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|